HTML lang Validator - Online Check Language Tag
Validate a language tag like en‑US or zh‑Hans against the IANA registry. Ensure correct HTML lang attribute.
UD5 Toolkit
Escape or unescape HTML special characters instantly. Protect your web pages from XSS and rendering issues.
| Character | Name | Entity Name | Entity Number | Description |
|---|---|---|---|---|
& | Ampersand | & | & | Must always be escaped first |
< | Less-than | < | < | Prevents tag interpretation |
> | Greater-than | > | > | Avoids end-tag confusion |
" | Double Quote | " | " | Safe inside attributes |
' | Single Quote | ' | ' | Safe inside attributes |
| Non-breaking Space | |   | Prevents line wrapping |
© | Copyright | © | © | Copyright symbol |
® | Registered | ® | ® | Registered trademark |
™ | Trademark | ™ | ™ | Trademark symbol |
€ | Euro | € | € | Euro currency symbol |
— | Em Dash | — | — | Long dash |
– | En Dash | – | – | Short dash |
< becomes <. Without escaping, special characters can break your page layout, cause rendering errors, or create XSS (Cross-Site Scripting) vulnerabilities that allow attackers to inject malicious scripts into your website.
& → & (ampersand — always escape first!)< → < (less-than / opening tag)> → > (greater-than / closing tag)" → " (double quote — important inside attributes)' → ' or ' (single quote — important inside attributes)/) may need escaping as / in certain contexts like inside <script> tags.
<, >, and & with entities for safe display in HTML documents. URL encoding (also called percent-encoding) replaces unsafe characters with %-prefixed hex codes for safe inclusion in URLs. For example, a space becomes %20 in a URL but may become in HTML. They serve different purposes and are not interchangeable.
<script> tags or event handlers like onclick.
<div class="example"> on your page, paste the escaped version <div class="example"> into your HTML file. The browser will render it as readable text rather than interpreting it as an actual HTML element. This is especially useful for code snippets, tutorials, and user-generated content.
<, >, &, ", and numeric entities back to their original characters. This is useful when you receive escaped HTML and need to read or process the original text. The unescape process uses the browser's built-in HTML parser for accurate, reliable decoding.
中 for 中), you may need an additional encoding step — this tool focuses on the critical HTML-special characters.
& is the prefix character for all HTML entities. If you escape other characters first (e.g., < becomes <), the newly created & in < would then be escaped again to &lt;, resulting in double-escaping. By always escaping & first, you prevent this cascading error. This is why our tool processes the ampersand before any other character.
< into &lt;. This makes the text display incorrectly (showing raw entity codes instead of the intended characters). To avoid it, always track whether your data has been escaped, and use the Unescape mode to revert double-escaped content before re-escaping. Our tool's "Swap" feature lets you quickly verify by unescaping the output to check correctness.
Validate a language tag like en‑US or zh‑Hans against the IANA registry. Ensure correct HTML lang attribute.
Paste an HTML snippet and check for common ARIA mistakes: missing labels, invalid roles, and aria‑hidden misuse. Educate your team.
Create a fully accessible form by adding fields; the tool generates the proper labels, inputs, and ARIA attributes. Copy the clean HTML.
Convert English text to Braille (Grade 1 and simple Grade 2 contractions). Educational tool to understand Braille representation. Local only.
Reverse entire text, flip letters, or reverse word order. Fun for puzzles and creative writing. Instant transformation without data leaving your browser.
Paste a WebVTT file and instantly check for syntax errors. Validate timestamps and cue formatting. Essential for video devs.
Reverse every word in a sentence individually while keeping the word order. 'Hello World' becomes 'olleH dlroW'. Simple fun.
Start with a base color and generate an extended palette where every shade contrasts properly with white and black. Export tokens.
Convert carabiner strength from kN to kg/lbs and understand Major Axis vs Minor Axis markings. Quick educational reference for climbers.
Fetch a site’s HSTS header and validate its syntax, max‑age, and subdomain flags. Ensure your site enforce HTTPS.
Test the experimental Translation API to translate text between languages directly in the browser, without cloud calls. Check support and copy the JavaScript starter.
Search common dream symbols and their traditional meanings. For entertainment and self-reflection. Static data.
Upload any image, add a thick white border and drop shadow, and turn it into a sticker. Download as transparent PNG.
Enter any number up to trillion and get the English word representation. For filling out checks or legal documents.
Click colors on an interactive wheel and see the common emotions and meanings associated with them. A design resource.
Enter original and target color to compute the exact CSS hue‑rotate(deg) filter needed. For precise icon and image tinting.
Convert volume and capacity units: gallon (US/UK), liter, milliliter, cup, and fluid ounce. Handy for cooking and science. Works entirely offline.
A big button that triggers a colourful confetti cannon full‑screen. Use it to celebrate small wins. Pure joy.
Pick colors using the HWB (Hue‑Whiteness‑Blackness) model. Get the CSS hwb() function code. Simpler than HSL for some.
Shift the color temperature of your photo towards warm (orange) or cool (blue). Instant canvas filter. Download result.
Request HID devices and list them. Read input reports and send output. For custom hardware and controllers.
Play infinite sound loops of white, pink, brown, blue, and violet noise. Volume control. Help focus or mask tinnitus.
Calculate the perceived brightness of an RGB color and determine if black or white text is more readable. Accessibility tool.
Pick a base color and generate a 10‑step scale where each step meets a specific contrast ratio against white or black. Export as CSS custom properties.
Encode latitude/longitude into a geohash string and decode a geohash back to coordinates with precision info. Local algorithm.
Automatically restore natural colors to a photo by removing color casts. Gray world algorithm. One‑click fix. Canvas.
See how a color is interpreted in different cultures (e.g., red in China vs. Western). Crucial for global web design. Static guide.
Click any color to see common emotional associations and cultural meanings. Quick design reference.
Estimate the baby's due date based on last menstrual period (LMP) or conception date. Also shows current week and trimester. Educational only.
See how a PWA can extend content into the title bar area on desktop. Customize the window controls overlay.