HTML Entity Encoder / Decoder
Encode text to HTML entities or decode entities like & and © back to characters with this free online HTML entity encoder and decoder.
Processed locally in your browserHow?
This tool runs in this browser tab. The files, text and values you enter are not uploaded to clkr.work servers — closing the tab clears them. Anonymous usage events (such as which button was pressed) are counted, never your content. Privacy policy
What next?
Found it useful? Share HTML Entity Encoder / Decoder
Free, no sign-up, works in the browser — send it to a friend or add it to your site.
Related tools
- Diff CheckerCompare two texts online free and highlight every difference by line, word or character. Free online diff checker with ignore case and whitespace options.
- JSON to CSV ConverterConvert JSON to CSV and CSV to JSON online free. Flattens nested objects, handles quotes and commas, opens in Excel. Free online JSON to CSV converter.
- JSON to YAML ConverterConvert JSON to YAML and YAML to JSON with this free online converter. Handles anchors, merge keys, multi-line strings and multiple documents with clear errors.
- JSON FormatterFormat and validate JSON instantly. Free online JSON formatter — paste messy JSON, beautify or minify, catch errors in your browser.
- Cron Expression GeneratorExplain any cron expression in plain English and see the next run times. Free online cron expression generator and crontab guru alternative with presets.
- CSS MinifierMinify CSS with this free online CSS minifier: strip comments and whitespace safely, see bytes saved, or beautify minified CSS back into readable code.
Part of the toolkit
How to use HTML Entity Encoder / Decoder
- 1Choose Encode or Decode
- 2Paste your text, HTML or entity-encoded string — for encoding pick how much to escape
- 3Copy the result, or press Swap to reverse it
Frequently asked questions
What are HTML entities?▾
Codes that represent characters in HTML: < for <, & for &, © for ©, or numeric forms like © and ©. Browsers display them as the character.
Which characters must be escaped in HTML?▾
& < and > in text, plus " and ' inside attribute values. Escaping these five prevents broken markup and cross-site scripting (XSS) when showing user text.
Do I need to encode accented letters and symbols?▾
Not on a UTF-8 page — é, € or emoji can be written directly. Encode them (the named or all non-ASCII options) for systems that only accept ASCII, such as some email templates.
What is ?▾
A non-breaking space: it looks like a normal space but keeps the words on either side on the same line and isn't collapsed by the browser.
Embed HTML Entity Encoder / Decoder on your website▾
Paste this snippet into your page. The embedded tool runs in your visitor's browser and shows a small “Powered by clkr.work” link.