Paste your text
Paste the text or HTML you want to convert.
Convert special characters to HTML entities and backBrowsers treat angle brackets and ampersands as instructions, not text. The moment you want to display code on a page, those characters must become entities, or the browser renders them as markup. This tool converts in both directions.
Convert special characters to HTML entities and back
Paste the text or HTML you want to convert.
Choose Encode to entities or Decode entities, and pick named or numeric output when encoding.
Copy the converted result and paste it into your page or editor.
Pasted a code snippet into a CMS and watched the angle brackets disappear? The encoder converts markup-critical characters (and optionally every non-ASCII character) into entities any browser renders as plain text.
The decoder uses the browser built-in HTML parser, so it understands named entities, decimal and hex codes. Handy for cleaning scraped content, reading RSS feeds, or debugging stray & text.
Where encoding earns its keep.
Anyone writing tutorials or docs with code samples needs this step, or their examples will execute instead of displaying.
Escaping user-supplied content before inserting it into HTML turns a would-be script tag into harmless visible text.
Scraped or legacy content that arrives entity-encoded becomes readable again with one quick decode pass.
Blog posts with code samples pasted into a CMS need entities so the code displays instead of running.
The characters that matter.
Less-than, greater-than, ampersand and both quotes become <, >, &, " and ' for safe display.
The decoder handles named entities and numeric ones, so © and © both resolve correctly.
Modern UTF-8 pages need entities less often; only the five HTML-significant characters strictly require encoding.
Conversion runs entirely in your browser. Nothing uploaded, no signup needed.

Free hosting provider checker. Reveal any website's hosting company accurately, server IP and reverse DNS from header and DNS fingerprints, in seconds.
Read article →
Free CMS detector. Detect WordPress, Shopify, Wix, Joomla, Drupal and more from code fingerprints. Perfect for competitor research and client website audits.
Read article →