HTML Encode
Convert <, >, & and quotes into <, >, & and friends before the text goes into a page or a CMS field.
Loading this tool…
Nothing you enter here is sent anywhere. There is no file and no request to our server - the work is done in your browser and disappears when you close the page.
How It Works
- Paste — Type or paste your text into the box above.
- Configure — Choose the transformation you want.
- Run — Press the action button; the counters update as you type.
- Take it — Copy the result or download it as a file.
Frequently Asked Questions
Which characters get encoded?
The markup-significant set — & < > " ' — plus optionally any non-ASCII character as a numeric reference. That is enough to paste code into an article without the browser executing it.