HTML encode / decode
Conversion stays in this tab. Nothing is uploaded.
Input
Output
How to use this tool
Encode or decode HTML entities in this tab. The text never leaves the browser.
Open HTML encode
A sample tag is already encoded. Encode and Decode sit in the left menu.
Paste your text
Encode turns <>&"' into entities. Decode reverses named codes and &#…; numbers.
Copy the result
Copy when it looks right. Closing the tab discards both sides.
FAQ
Can I encode HTML here?
Yes. Paste text. Encode turns <>&"' into entities. Decode reverses named and numeric codes.
Is the text uploaded?
No. Conversion stays in this tab.
Which entities are named?
amp, lt, gt, quot, apos, and nbsp. Other names stay as written. Numeric &#…; codes decode.
Does it run scripts?
No. This only rewrites characters. It does not execute HTML.
Can I copy the result?
Yes. Copy puts the converted text on the clipboard.