HTML Entity Encoder/Decoder — Free Online HTML Escape Tool

Encode and decode HTML entities with named, numeric decimal, and hex formats. Includes a clickable reference table — runs 100% in your browser. This free online HTML entity encoder/decoder runs entirely in your browser — no data is ever uploaded to a server.

How to Use

1. Enter your input — type or paste your text with special characters (or entity codes) into the box.

2. See live results — the tool updates instantly as you type.

3. Copy or download — copy the output to clipboard or download it.

4. History — your recent inputs are saved locally and can be pinned for quick access.

Example

Enter "

" and click Encode — it returns "<div>". Paste "&" and Decode converts it back to "&". Browse the clickable reference table for any named or numeric entity.

Also check out the live tool at freeq.one/tools/html-entities — part of the FreeQ.One suite of free online tools.