HTML Escape/Unescape - Online Encode Special Characters
Escape HTML special characters to prevent XSS attacks, or unescape HTML entities back to original text. Essential for web developers. Runs locally.
UD5 Toolkit
Quickly test JavaScript regular expressions with Unicode property escapes like \p{Script=Greek} or \p{Emoji}. Full u/v flag support.
/
/
u or v flag is required for \p{...}
Unicode property escapes allow you to match characters based on their Unicode properties. For example, \p{Script=Greek} matches any character from the Greek script, \p{Emoji} matches emoji characters, and \p{Lu} matches uppercase letters. They are supported in modern JavaScript environments and require the u or v flag.
This tool helps you build and test such expressions interactively, ensuring correct results across multiple matches.
\p{Property=Value} that match characters belonging to a specific Unicode category, script, or property. For instance, \p{Script=Latin} matches any character from the Latin script.u (unicode) or the newer v (unicodeSets) flag to recognise \p{...} and \P{...} syntax. Without it, you’ll get a SyntaxError.v flag additionally supports set notation (difference/subtraction, intersection) and was introduced in ES2024. For most \p{} usage, u is sufficient.\p{...} with the u flag. The v flag is supported in recent versions (Chrome 112+, Firefox 116+, Safari 17+).\p{Emoji} matches any character with the Emoji property. Use \p{Emoji_Presentation} to match only emoji that default to text presentation (like emojis with variation selectors).\P{Script=Common} matches any character that does not belong to the Common script.\p{Script=Greek} or its short form \p{sc=Greek}. For extended Greek with Coptic, you might combine scripts with [\p{Script=Greek}\p{Script=Coptic}].u flag and that your JavaScript environment supports the specific Unicode property. This tool runs directly in your browser, so if it works here, it will work in similar modern browsers.Escape HTML special characters to prevent XSS attacks, or unescape HTML entities back to original text. Essential for web developers. Runs locally.
Adopt a virtual pet rock. It sits there. Sometimes you can polish it or give it a name. The low‑maintenance pet you always wanted.
Test a regular expression against malicious inputs to detect catastrophic backtracking and ReDoS vulnerabilities. Educational.
Paste text with \uXXXX or \xXX escape sequences and decode to readable characters. Works for all Unicode planes.
Enter a GraphQL endpoint, write a query, and see the response. Add headers and variables. Simple testing client.
Connect a game controller and see every button press, axis movement, and vibration test. Uses the Gamepad API.
Connect your MIDI keyboard and see pressed notes visually on a piano roll. Check velocity, channel, and aftertouch. No DAW needed.
Connect a gamepad and see all button presses and axis movements visually. Check that every input is detected correctly.
Map English letters to fancy mathematical or ornamental Unicode symbols. Create Facebook/Twitter bio art. All local.
Convert normal text into various Unicode styles (bold, italic, script, fraktur). Copy and paste anywhere. No font install needed.
An interactive reference for regular expression tokens. Click a token to see its explanation and example. Learn regex faster.
Write JavaScript code and see the output or console.log results immediately. Safe iframe sandbox. For quick experiments.
Experiment with CSS container queries. Resize a container and see the styles change according to its size, not the viewport. Learn the new spec.
Test prompt formatting without calling an LLM. See how your prompt would look with different templates. Dev tool.
Paste a regular expression and get a step‑by‑step plain English explanation of what it does. Learn regex.
Browse Unicode by block: Latin, Cyrillic, CJK, Emoticons. See characters and copy with a click. Full reference.
Write a media query and instantly see if it matches your current viewport. Width, height, orientation, and more.
Press any key and see it light up on a standard QWERTY layout. Check functionality or demonstrate shortcuts.
Convert any text into JavaScript‑style \uXXXX escape sequences and vice versa. Handles emojis. Useful for i18n development.
Enter a regular expression and see a visual railroad diagram explaining the pattern. Learn and debug regex.
Enter a URL and drag a slider to change the viewport width smoothly. See exactly where your layout breaks. No iframe limits.
Paste text and instantly see every character's decimal and hex ASCII/Unicode code point. Supports emojis and symbols.
Paste or write a CSS gradient value and instantly see the rendered output. Debug and iterate on gradients quickly. Local preview.
Press keys on your physical keyboard and see them highlighted on a virtual keyboard. Detects multi-key rollover. Quick hardware check.
Create styled text using Unicode math symbols that render as bold, italic, bold-italic, etc. Copy and paste to social media bios. Local generator.
Create scary, glitched text using combining diacritical marks. Control intensity. Perfect for horror memes and fun. Pure Unicode magic in browser.
Write upside down text using Unicode flipped characters. Copy and paste to surprise friends. Completely frontend and instant.
Pull out all URLs and links from text. Extract domains, paths, and protocols. Perfect for SEO scraping or analyzing text documents. Client-side execution.
Extract all email addresses from a text block using a regex pattern. Deduplicate and sort results. Handy for lead extraction. Data stays on your machine.
Browse thousands of Unicode characters, search by name or code, and copy symbols to clipboard. Supports emojis, arrows, and math symbols.