HTML Entity Encoder / Decoder

Encode and decode HTML entities, with optional encoding of all non-ASCII characters.

Privacy: This tool runs entirely in your browser. Your data never leaves your device and is never uploaded to any server.

Output will appear here.

Frequently asked questions

What are HTML entities?

HTML entities represent reserved characters such as <, > and &, or non-ASCII characters, as named or numeric codes.

Why encode HTML?

Encoding prevents browsers from interpreting text as markup, which is useful for displaying code snippets safely.

Is my text uploaded?

No. Encoding and decoding happen locally in your browser.

More Encoding & Hashing tools