Encoding & decoding
Choose Encode to safely escape special characters (like <, >, and &) into their HTML entity equivalents. This ensures the text is displayed visibly rather than being parsed as markup. Choose Decode to convert HTML entities back into their original readable characters.
Input handling
Paste or type single-line snippets, full HTML blocks, or multi-line text into the editor. The tool parses everything client-side and updates the output live as you edit or switch modes.
Line break preservation
When encoding, line breaks are automatically converted to <br> tags to preserve formatting in HTML displays. When decoding, <br> tags are converted back to standard text newlines.