Encode and decode HTML entities in your browser.
Type in either textarea and click the button to convert in that direction.
Encode HTML before inserting user content into a page to prevent XSS.
Decode entities in copied HTML to see the actual characters.
Check that your template engine is escaping output correctly.
Paste HTML into the left textarea and click Decode to convert entities like & and < back to their original characters. Paste plain text in the right textarea and click Encode to escape it for safe insertion into HTML.
The encoder handles the five reserved HTML characters that must always be escaped: ampersand, less-than, greater-than, double quote, and single quote. The decoder handles all named HTML5 entities as well as decimal and hexadecimal numeric references.
Everything runs locally in your browser. Sensitive content you paste is never transmitted anywhere.
FAQ
Compress Image
Reduce image file size without losing quality. Supports PNG, JPG, and WEBP.
HEIC to JPG
Convert iPhone HEIC photos to JPG format instantly in your browser.
Resize Image
Resize images to exact dimensions with presets for Instagram, LinkedIn, YouTube, and more.
JPG to PNG
Convert JPG images to PNG format with transparency support.
5 free uses left today
Go Pro