๐ง Utility Tools
HTML Entity Encoder / Decoder
Convert special characters to HTML entities and back. Handles named entities (&) and numeric codes (&). Everything runs in your browser.
๐ฅ Used 6,145 times this month
Input (text)
Output
๐ก Ctrl+D to bookmark for next time
How it works
01
Pick Mode
Encode text to entities, or decode entities back.
02
Pick Format
Named, numeric, or hex representation.
03
Copy
Get output ready to paste into your HTML.
Frequently asked questions
What are HTML entities?
HTML entities let you show characters that have special meaning (like < > &) or non-ASCII characters in your HTML source. For example, < displays as <.
Named vs numeric - which should I use?
Named (&) is more readable but only exists for common characters. Numeric (&) works for any Unicode character. Hex (&) is common in XML.
When should I encode "all" characters?
Rarely โ only for obfuscating email addresses to fool basic scrapers, or for XML attributes with strict rules. Normal HTML only needs the 5 reserved chars encoded.
Is my text uploaded?
No. All conversion runs in your browser.
All tools are free, browser-based, and process files locally โ your data never leaves your device. Read our Privacy Policy | Visit our blog.