HTML Entity Encoder / Decoder
Escape special characters for HTML, or turn entities back into text. Free, no sign-up, runs in your browser.
Loading tool…
About this tool
Encode turns characters like <, >, & and quotes into safe HTML entities. Decode turns entities such as &copy; back into characters.
How to use it
- Enter or paste your values in the fields above.
- The result updates as you type.
- Use the Copy button to copy the result.
Frequently asked questions
When do I need to encode HTML?
Whenever you show user-supplied text inside HTML, to prevent broken markup and cross-site scripting.
Let’s talk
Need a team to build it?
We build the software behind tools like this: web apps, APIs, SaaS products and AI features.