HTML Entity Encoder & Decoder

Encode convertible characters into HTML entities and decode HTML entities into characters

Enter text

Features

Both encoding and decoding

Convert special characters and entities to and from each other

Entity output in 3 formats

Choose from named, decimal, or hexadecimal

Reliably convert special characters

Correctly handles ampersands and angle brackets

Preserves unsupported characters like Japanese

Avoids unnecessary conversion with the named format

How to use

1

Select the conversion direction with tabs

Choose the encode or decode tab to decide the conversion direction

2

Enter the target text

Paste the text or HTML entities you want to convert into the input field

3

Select the entity format

When encoding, specify the output format from named, decimal, or hexadecimal

4

Copy the converted result

Get the result shown in the output field with the copy button

Use cases

Preventing garbled text on web pages

Turn special characters into entities to avoid broken display in advance

Posting code in articles

Safely display source code to show tags as they are

Adjusting email HTML

Turn body text containing symbols into entities so it displays correctly in any environment

Decoding entity strings

Convert received entities back to the original characters to check the content

Safety and Privacy

Runs entirely in your browser

Your input data is processed only within your browser and is never sent externally.

Processing only in your browser

encoding and decoding is processed entirely within your browser, and input data is not sent to any server.

Communications encrypted with HTTPS

Page loading is also encrypted by TLS, and content cannot be read by third parties.

No transmission to third parties

Input content is not sent to external services such as ad networks or trackers.

No automatic saving of results

conversion results and input suggestions are not stored on the server.