HTML to XML Converter - Online Markup Translator
Convert HTML code into well‑formed XML with proper self‑closing tags and attributes. Fixes common HTML5/XHTML mismatches. Local only.
UD5 Toolkit
Convert any text to HTML entities instantly. Supports decimal, hexadecimal, and named entity formats. Encode special characters for safe HTML embedding or convert all characters for obfuscation.
| Char | Code Point | Decimal Entity | Hex Entity | Named Entity | Description |
|---|---|---|---|---|---|
| Enter text above to see character mapping | |||||
< and >) or characters that aren't easily typed on a keyboard. Unicode HTML entities cover the full range of Unicode characters — over 143,000 characters spanning all major writing systems, symbols, and emoji.A (base-10 Unicode code point).A (base-16, prefixed with x).& or €. Named entities are easier to read but only exist for about 2,000 characters (mostly Latin-1, Greek, math symbols, and arrows). For all other characters, numeric entities must be used. All three formats are equally valid in HTML5.
<, >, &, ", and '. Use Non-ASCII Only for international text where ASCII characters should remain readable but accented or Unicode characters need safe encoding. Use All Characters for complete obfuscation, email address protection from bots, or when you want every single character represented as an entity.
< → <, > → >, & → &, " → ", ' → ') is a critical defense against Cross-Site Scripting (XSS). When user input is properly entity-encoded before being inserted into HTML, any malicious script tags become harmless text rather than executable code. However, context-aware encoding is essential — different contexts (HTML body, attributes, JavaScript, CSS) require different encoding strategies.textarea element, set its innerHTML to the entity string, and read its value — the browser handles all entity resolution automatically.A and hexadecimal A) are part of the HTML specification since HTML 4.01 and are supported by every modern and legacy browser. Named entities like & and € are also universally supported. For maximum compatibility, numeric entities are preferred, as some older browsers had gaps in named entity support for less common symbols.& (&), < (<), > (>), " ("), ' ('), (non-breaking space), © (©), ® (®), € (€), — (—), and many Greek letters, math symbols, arrows, and Latin-1 accented characters. This tool's "Named Priority" format uses named entities whenever available and falls back to hexadecimal for all other characters.A (1 byte) becomes A (5 bytes) in decimal or A (5 bytes) in hex. Named entities like € (6 bytes) replace € (3 bytes in UTF-8). The "Ratio" statistic in this tool shows the expansion factor. For short strings this is negligible, but for large documents, entity encoding can significantly increase file size. Use targeted encoding (Special Chars or Non-ASCII modes) to minimize bloat.😀 (decimal) or 😀 (hex), representing the complete character. This ensures proper round-trip conversion and display across all platforms.Convert HTML code into well‑formed XML with proper self‑closing tags and attributes. Fixes common HTML5/XHTML mismatches. Local only.
Paste text and instantly see every character's decimal and hex ASCII/Unicode code point. Supports emojis and symbols.
Paste HTML and convert to plain text while preserving basic structure (paragraphs, list items). Removes all tags and images. Instant local processing.
Convert normal text to Unicode mathematical bold, italic, script, fraktur, and double‑struck. Copy rich text for anywhere.
Convert dates between Hijri and Gregorian using the Umm al‑Qura algorithm. Approximate local moon sighting may vary.
Convert any text to upside down (flipped) characters using Unicode mappings. Copy and paste to social media. 100% local, no data sent.
Enter CMYK values and find the closest Pantone Solid Coated color. For print design reference. Client‑side lookup.
Pick any emoji and download it as a high‑resolution PNG image with transparent background. For social media or icons.
Convert hex or RGB to CIELAB L*a*b* values. Understand perceptual lightness and color opponents. Local math.
Convert currencies using a built‑in table of approximate fixed rates. Useful for quick estimates without live data. Local.
Convert Markdown to styled HTML that retains formatting when pasted into Google Docs or Word. Headings, bold, lists. Client‑side.
Convert any image into colored ASCII art using divs with background colors. Creates a stunning text‑based replica. View & copy HTML.
Type or paste Korean Hangul and see the revised romanization. Also works backwards for basic words. Study aid.
Paste CSV and get a beautiful HTML table with sortable headers (optional). Copy the full HTML/CSS snippet. Local.
Enter a Kelvin value (1000‑40000) and see the approximate white‑balance color. Photography and lighting reference.
Browse Unicode by block: Latin, Cyrillic, CJK, Emoticons. See characters and copy with a click. Full reference.
Convert a numeric amount into English words, perfect for writing checks or legal documents. Supports USD/GBP styles.
Convert between Gregorian and Hijri (Islamic) dates. Approximate visual reference. Local algorithm.
Convert a Gregorian calendar date to its Julian Day Number and vice versa. Used in astronomy and mainframe computing.
Encode short audio clips into Base64 data URIs for direct embedding in HTML5 <audio> tags. No external files needed.
Translate between binary and Gray code (reflected binary code). See the bit changes. Useful for digital logic.
Encode decimal integers into signed magnitude binary representation and decode back. Learn computer arithmetic.
Convert a decimal number to 32-bit single precision IEEE 754 format. See sign, exponent, mantissa bits. Developer tool.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Convert minutes to decimal hours and vice versa. Essential for billing and payroll. Instant conversion with a handy chart.
Convert between units of absorbed dose and equivalent dose (Gray, Rad, Rem, Sievert). Educational and reference. Local calculation.
Convert torque units between Newton-meter, foot-pound, inch-pound, and more. Essential for mechanics and engineers. Instant local conversion.
Write upside down text using Unicode flipped characters. Copy and paste to surprise friends. Completely frontend and instant.
Convert audio files between popular formats like WAV, MP3, and OGG directly in the browser. No upload, fast encoding using WebAudio and ffmpeg wasm.
Strip HTML tags and convert web content to plain Markdown. Preserve headings, lists, and links. Perfect for content migration. All processing in browser.