HTML Encoder / Decoder

Convert special characters to HTML entities and back as you type. Optionally also accents as é or é. For code samples and email templates.

How does this tool work?

Converts special characters to HTML entities and back, for example to put code samples or user input safely on a web page.

Choose encode or decode, the result appears as you type. By default only the five reserved characters are replaced, which is enough for UTF-8 pages. For older systems or email templates all characters outside ASCII can also be written as named entities (&eacute;), decimal (&#233;) or hex (&#xE9;). Line breaks can be output as <br>. Decoding resolves all named and numeric entities.

Where are my data processed?

Only in your browser. Your data is not sent to any server.

The tool calculates and converts with JavaScript right on your device. Input and files are not sent to us or anyone else. You can check this yourself: load the page, disconnect from the internet, and the tool keeps working in the open tab.

No Server UploadNo sign-upRuns Offline in Tab

How it works and how to check it