Embedding Code Snippets in HTML
Display raw HTML/XML tags inside <pre><code> blocks safely.
Escape reserved HTML characters (<, >, &, ", ') into safe named or numeric entities and decode HTML entities back to plain text.
Escaping the five HTML-significant characters prevents unintended tag interpretation and mitigates Cross-Site Scripting (XSS) in raw HTML templates.
& → & | < → < | > → > | " → " | ' → '
Reserved syntax characters and common typographic symbols.
| Char | Named Entity | Numeric | Description |
|---|---|---|---|
| & | & | & | Ampersand (reserved) |
| < | < | < | Less-than (opens tag) |
| > | > | > | Greater-than (closes tag) |
| " | " | " | Double quote |
| ' | ' | ' | Single quote / apostrophe |
| |   | Non-breaking space | |
| © | © | © | Copyright sign |
| ® | ® | ® | Registered trademark |
| ™ | ™ | ™ | Trademark |
| — | — | — | Em dash |
| € | € | € | Euro currency sign |
| × | × | × | Multiplication sign |
Display raw HTML/XML tags inside <pre><code> blocks safely.
Decode double-escaped entities (&nbsp;, ’) from legacy CMS exports.
Convert HEX, RGB, and HSL color codes with live WCAG 2.1 contrast ratio verification.
Inspect JWT header, payload claims, and exp/iat timestamps 100% locally with zero uploads.
Compute cryptographic SHA-1, SHA-256, SHA-384, and SHA-512 hex digests locally via Web Crypto API.
Generate high-entropy cryptographic passwords using Web Crypto API with customizable length, character sets, and entropy bits.
Translate standard 5-field Unix cron schedules into plain English with presets and syntax diagnostics.
Convert Linux file permissions interactively between checkboxes, octal codes (755, 644), and symbolic strings (rwxr-xr-x).
Calculate network address, broadcast address, subnet mask, wildcard mask, and usable host IP range from any IPv4/CIDR.