Select the Encode tab to generate entities from text or switch to Decode when you need the original characters back.
Step 2
Pick the right entity mode
Use HTML mode for web content that supports named references or XML mode for feeds, templates, and strict parsers.
Step 3
Copy, download, or share
After converting, copy the output, download a text file, or share a link that preserves the active tab and results.
Frequently asked questions
What is the difference between HTML and XML modes?
HTML mode outputs named entities when available, such as ©, while XML mode always uses numeric references so RSS readers and XML parsers accept the result.
Will existing entities be double-encoded?
No. The encoder first normalizes any existing entities before generating new ones so & stays a single ampersand entity.
Does the tool support emoji and other astral characters?
Yes. Astral Unicode characters are preserved whether you encode or decode thanks to the underlying html-entities library.
HTML Entities Encoder/Decoder — WebUtility.org | WebUtility.org