HTML entity encode
Turn < > & and quotes into HTML entities so they show as text.
🔒 Runs on your device⚡ No upload✓ Free, no sign-up
How to use HTML entity encode
- Type or paste your text in the box.
- Pick the options you want; the result updates as you type.
- Copy the result or download it as a file.
Questions
Is HTML entity encode free?
Yes. It is free with no sign-up, no watermark and no ads.
Is my text uploaded?
No. Everything happens in your browser. Nothing you type or open is sent to our server; we only count that the tool was used.
Does it work offline?
Yes, once the page has loaded it keeps working without internet.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux.
Related tools
HTML entity decodeTurn &, ' and other entities back into characters.HTML formatterIndent messy or minified HTML so it is easy to read.HTML minifierRemove comments and extra spaces from HTML. Text in pre and textarea is kept.Base64 encodeTurn text into Base64, with full support for accents and emoji.URL encodeMake text safe to put in a web address or query string.HTML to JSXConvert HTML to JSX for React: className, htmlFor, style objects and closed tags.JSON formatterMake JSON readable with indentation, and see exactly where it is broken.JSON validatorCheck if JSON is valid and find the line and column of any error.