HTML Entity Encoder
Escape < > & and quotes so text can be safely dropped into HTML. Also converts non-ASCII characters to entities. Free.
Scan to open on your phone
Point your phone camera at the code to open this tool.
Escape < > & and quotes so text can be safely dropped into HTML. Also converts non-ASCII characters to entities. Free.
How to use HTML Entity Encoder
- Paste or type your contentThe result appears as you type — there is no submit button.
- Set “Encode”
- Read and copy the resultThe output updates live and the copy button takes it in one click.
Nothing you enter leaves your device
All of the work happens inside your browser. Whatever you type is never packaged up and sent to a server, and no request this page makes carries it.
That makes it safe for contract amounts, personal details and internal documents you would rather not hand to a third party — close the tab and it is gone.
What this tool does not do
HTML Entity Encoder only does what a browser can do on its own — it talks to no backend service. So it keeps no history for you and syncs nothing across devices; if you need a record, copy or download the result.
It is also not a substitute for professional judgement. For legal, medical or tax decisions, treat the output as a starting point rather than a final answer.
Frequently Asked Questions
- Why do I need to escape HTML?
- Characters like < and & have special meaning in HTML. Escaping them stops your text from breaking the page or being treated as markup.
- Should I encode everything or only special characters?
- Only special characters is usually enough. Encode non-ASCII too if the receiving system has trouble with accented characters.