EN
PortuguêsEnglishEspañol
All tools
Developer tools 100% free

HTML entity encoder

Convert special characters and accented letters into HTML entities (< é) and back.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Format and convert

Paste the text or HTML.

Available in: PortuguêsEspañolEnglish

Advertisement

HTML entity encoder: what it is for

The tool turns special characters into HTML entities so you can show code as text without breaking the page, and does the reverse.

Optionally it also encodes accented letters and symbols, with names (é) or numeric codes (é).

How to use

  1. Paste the text or HTML.
  2. Choose encode or decode and the options.
  3. Copy the result.

When to use it

  • Showing HTML code in posts and tutorials.
  • Preparing text for HTML emails.
  • Reading text full of & and ".

Frequently asked questions

When do I need to encode?

When you want to show HTML code as text on a page, or make sure symbols like <, > and & don't break the HTML.

What about accented letters?

Modern browsers with UTF-8 show accented letters normally. Check Encode accents only if the target system doesn't accept UTF-8, like some old email clients.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.