Springr
HTML Codec
All tools

HTML Codec

Encode and decode HTML character references — named, decimal and hex.

Encodes special and non-ASCII chars as ' style references.

Encoded
Plain text

Supported references

  • ' or ' → apostrophe
  • & → &
  • " → double quote
  • < / > → angle brackets
  • © → © (named entities)
  • € → € (decimal / hex Unicode)

About HTML Codec

Encode and decode HTML character references, including named, decimal and hexadecimal entities. Useful for escaping markup in snippets and content, or for reading text that has been entity-encoded.

How to use it

  1. Paste your text or HTML into the input.
  2. Choose whether to encode or decode.
  3. Copy the converted output.

Frequently asked questions

Which HTML character references are supported?
Named references like & and ©, decimal references like ©, and hexadecimal references like ©.
Why do I need to escape HTML?
Escaping characters such as <, > and & prevents user content from being interpreted as markup, which helps avoid broken layouts and XSS issues. Use your framework's built-in escaping for production rendering.