Phishing Email Checker - Online Suspicious Link Analyzer
Paste email headers or body text to quickly spot phishing signs, suspicious domains, and obfuscated links. Educational and private.
UD5 Toolkit
Clean dangerous tags, strip malicious attributes, and prevent cross-site scripting attacks instantly.
Waiting for input...
<script>, <iframe>, <object>, and removes event handler attributes such as onclick, onerror, and onload. It also blocks javascript: protocol URLs in links and images.
<script>, <iframe>, <object>, <embed>, <applet>, <form>, <input>, <button>, <select>, <textarea>, <link>, <base>, and <meta>.onclick, onerror, onload, onmouseover, onfocus, onblur, onchange, onsubmit, onkeydown, onkeyup, and over 100+ more on* attributes. The javascript: protocol in href and src attributes is also stripped. In strict mode, style attributes may also be removed to prevent CSS-based injection vectors.
<a> (with safe href), <img> (with safe src), <table>, <ul>, <ol>, <h1>-<h6>, <p>, <strong>, <em>, <blockquote>, <code>, <pre>, and many more. Style attributes are preserved but checked for dangerous content.style attributes, stripping class and id attributes, and only allowing the most basic formatting tags like <b>, <i>, <u>, <p>, <br>, <strong>, <em>, <ul>, <ol>, and <li>. This is ideal for comment systems or fields requiring maximum security.
DOMParser API to parse raw HTML into a structured DOM tree. It then recursively traverses every element node, checking each tag against a whitelist of safe tags and each attribute against a blacklist of dangerous patterns (event handlers, javascript: protocols). Dangerous elements are removed while preserving their text content. The sanitized DOM is then serialized back to clean HTML using innerHTML. All processing happens entirely in your browser β no data is ever sent to any server, ensuring your HTML remains private and secure.
ALLOWED_TAGS and ALLOWED_ATTR configurations give you full flexibility to define your own security policy.
Always combine client-side sanitization with server-side validation. Use Content Security Policy (CSP) headers to restrict which scripts can execute on your site. Set cookies with HttpOnly and Secure flags. Remember: never trust user input β sanitize early, sanitize often.
This is safe content.
\n\n
\nEvent handlers are dangerous.
', 'malicious-link': 'Click me - looks safe but isn\'t!\nThis is a real safe link\nHello World!
\n\n\n
\n\nEnd of profile.
' }; // ββββββββββββββββββββββββββββββββββββββ // Event Handlers // ββββββββββββββββββββββββββββββββββββββ $btnSanitize.on('click', function() { const $btn = $(this); $btn.addClass('disabled').prop('disabled', true); $btn.find('i').removeClass('fa-shield').addClass('fa-spinner fa-spin'); // Small delay for UX feedback setTimeout(() => { performSanitization(); $btn.removeClass('disabled').prop('disabled', false); $btn.find('i').removeClass('fa-spinner fa-spin').addClass('fa-shield'); }, 150); }); $btnClear.on('click', function() { $input.val(''); $outputCode.html('Waiting for input...'); $outputPreview.html('').addClass('d-none'); $outputCode.removeClass('d-none'); $viewCodeRadio.prop('checked', true); $statsRow.fadeOut(200); sanitizeStats = { originalSize: 0, cleanedSize: 0, tagsRemoved: 0, attrsStripped: 0, dangerousTagsFound: [] }; }); $btnCopy.on('click', copyOutput); $viewCodeRadio.on('change', toggleView); $viewPreviewRadio.on('change', toggleView); // Example chips $('.example-chips .chip').on('click', function() { const exampleKey = $(this).data('example'); if (examples[exampleKey]) { $input.val(examples[exampleKey]); // Auto-sanitize on example selection $btnSanitize.trigger('click'); } }); // Keyboard shortcut: Ctrl+Enter to sanitize $input.on('keydown', function(e) { if ((e.ctrlKey || e.metaKey) && e.key === 'Enter') { e.preventDefault(); $btnSanitize.trigger('click'); } }); // Mode switch auto re-sanitize $modeBalanced.on('change', function() { if ($(this).is(':checked') && $input.val().trim()) { $btnSanitize.trigger('click'); } }); $modeStrict.on('change', function() { if ($(this).is(':checked') && $input.val().trim()) { $btnSanitize.trigger('click'); } }); // ββββββββββββββββββββββββββββββββββββββ // Initial State // ββββββββββββββββββββββββββββββββββββββ $statsRow.hide(); $outputPreview.addClass('d-none'); // Load a default example for immediate demonstration const defaultExample = 'Hello World!
\n\n
';
$input.val(defaultExample);
// Auto-run sanitization on page load
setTimeout(() => {
performSanitization();
}, 100);
})();
Paste email headers or body text to quickly spot phishing signs, suspicious domains, and obfuscated links. Educational and private.
Paste text and instantly see if it contains hidden zeroβwidth characters often used in steganography. Reveal invisible payloads.
Type an abbreviation and its full form to get the proper `<abbr title='...'>` HTML. For accessible markup.
Paste a sentence and see each word tagged with its part of speech (noun, verb, adjective). Local ruleβbased analysis.
Test how nonβLatin characters (Chinese, Cyrillic, Arabic) convert to URLβsafe slugs with proper transliteration rules. Preview the final string.
Type a passage and see it appear in a realistic cursive font. Helps connect handwriting to digital text.
A complete reference of HTTP status codes with explanations. Search and filter by code or category. Useful for API developers and web debugging. Static and fast.
Modify the DOM via buttons and see MutationRecords logged. Understand childList, attributes, and subtree options.
Browse a searchable list of standard HTTP request and response headers with explanations. Quick dev help.
Look up any HTTP status code and see its meaning, RFC reference, and example. Full offline reference.
Animated tweezers technique for proper tick removal. What to do after. Prevention of Lyme disease.
Use SSML <mark> tags to fire events during TTS. See text highlighted as it is spoken. Understand speech synthesis timing. local.
Build hreflang tags for multiβlanguage websites. Select languages and URLs and get the complete <link> snippet.
Enter a URL and see its CORS headers. Understand why a fetch fails. Check preflight responses. Clientβside debugger.
Need a reason why you are late or the build failed? Get a hilarious, techβthemed excuse. Pure fun for dev teams.
Select item rarity and consumable state to get a price range based on Dungeon Master's Guide tables. Quick reference.
Transliterate English letters into Elder Futhark runes. Fun for tattoos and fantasy. Oneβtoβone mapping.
Interactive checklist to build an emergency go-bag. Covers water, food, first aid, tools, documents. Track progress locally. Essential for disaster preparedness.
Format your SQL code with consistent indentation. Choose 2 or 4 spaces. No syntax validation, just neat output.
Set a date when a new fish arrives and get a daily checklist for observation. Countdown to safe introduction.
Log your daily water consumption with one click. Set a goal and track progress. Data stored locally for privacy. Simple and clean interface.
See the current UV index forecast or enter a value to learn protection needed (SPF, hat, shade). Educational.
Record audio from your microphone and save as WAV file. Visual waveform while recording. Simple and privacy-friendly; audio stays in your browser.
Remove silent parts from an audio recording. Useful for podcasts and lectures. Set threshold and minimum silence duration.
Calculate the output voltage and resistor values for a voltage divider circuit. Includes schematic. Handy for electronics hobbyists and engineers.
Enter word pattern with ? for unknown letters and known letters to find matching dictionary words. Essential crossword help. Local dictionary.
Trim audio files or split into multiple segments using visual waveform. Set start/end markers precisely. Download segments or merged track. Purely browser-based.
Select a part of an audio file and trim it to the selection. Playback preview. Download the cropped audio. No upload.
Enter hiding places and get a set of rhyming clues to print. Fun for kids' parties.
Enter any two values (voltage, current, resistance, power) and compute the others. Visual triangle helper and formula display. Instant local calculation.