Developer tool

HTML Encoder

Escape HTML special characters or turn entities back into readable text.

Runs in your browser
HTML Encoderworks locally
Result

How to use this HTML encoder

  1. Paste the source text or code, then choose the conversion or formatting mode.
  2. Review the result shown beside the controls. Check syntax, escaping, and edge cases against the source before using the result in a live project.
  3. Check the output against the source, then copy or download the finished result.

About this HTML encoder

Use the HTML Encoder to escape HTML special characters or turn entities back into readable text. Change the inputs to compare another result.

You can also use it to compare the result with the original input.

Example

Encode <strong>Tea & Coffee</strong> to display it as text rather than HTML, then decode the entities when needed.

Common uses

  • escape HTML special characters or turn entities back into readable text
  • compare the result with the original input
  • copy or save the finished output for later use