Show a tag as text
Characters that would be interpreted by HTML are replaced with entities, including ampersands, angle brackets, quotes, and apostrophes.
<button title="Tom & Ana's"> -> <button title="Tom & Ana's">Convert special characters such as <, >, &, quotes, and apostrophes into HTML entities, or decode entities back to readable text.
Fill in the values, paste your text, or upload the file this tool works with.
Most tools update live as you type; a few use a single button. Either way, the result appears right on this page.
Copy, download, or share what the tool produces — you're always in control of the output.
Convert characters that have special meaning in HTML into safe entities, or decode entity text back to readable characters.
Encode entities when you need to show code as text, paste snippets into a CMS field, or prevent characters like < and & from being interpreted as markup.
Characters that would be interpreted by HTML are replaced with entities, including ampersands, angle brackets, quotes, and apostrophes.
<button title="Tom & Ana's"> -> <button title="Tom & Ana's">Entity encoding helps display HTML-looking text as text. In production apps, still rely on the framework or template engine's escaping rules.
The tool encodes the characters most likely to break HTML text: &, <, >, double quotes, and apostrophes.
Yes. It supports common named entities and numeric decimal or hexadecimal entities.
No. It escapes text for display, but it is not a complete HTML sanitizer for untrusted markup.
The named map covers amp, lt, gt, quot, apos, and #39. Numeric decimal and hexadecimal entities are decoded too.
Generate standards-compliant UUID v4 and GUID identifiers individually or in bulk.
Format, minify, and validate JSON and XML, and convert between JSON and YAML.
Create QR codes and read QR images locally.
Encode and decode text using Base64 locally.
Encode and decode URLs in separate tabs, with batch and recursive options.
Convert Unix timestamps (seconds and milliseconds) to dates and vice versa.
Test regular expressions and preview replacements.
Decode JWT header and payload locally.
Build, validate, and decode 5-field cron expressions with next run times.
Compare two JSON values and list changed paths.