HTML Encoder & Decoder
Your text never leaves your browser — everything runs on your device.
Encode text into safe HTML entities — < becomes <, > becomes >, & becomes &, and quotes become " and ' — so it displays as text instead of being read as markup. Or decode entities back to plain characters, including numeric references such as A. Free, no signup, and your text never leaves your browser.
Frequently asked questions
When do I need to encode HTML?
Whenever you want to show code or special characters on a web page as text — for example displaying <div> in a tutorial — or when inserting user text into a page safely so it cannot be interpreted as markup.
What characters does the encoder change?
It encodes the five characters that matter in HTML: & becomes &, < becomes <, > becomes >, " becomes " and ' becomes '.
What entities can the decoder handle?
Named entities such as &, <, >, ", ', © and , plus numeric references in decimal (A) and hexadecimal (A) form. Unknown entities are left unchanged.
Is my text uploaded anywhere?
No. Encoding and decoding run entirely in your browser. Nothing you paste is sent to a server or stored.