Encode special characters
Characters such as &, < and > become HTML entities for text output.
HTML ENTITY CONVERTER
Encode special characters for HTML or decode entities back into readable text directly in your browser.
Your result will appear here.
WHY THIS TOOL
Characters such as &, < and > become HTML entities for text output.
Only entity references are decoded; literal HTML tags in the input stay intact.
Review and copy the transformed text into a document or editor.
HOW TO USE
Add your input, run the tool, then check the result.
Choose Encode or Decode.
Enter text and run the conversion.
Check that characters and literal tags are preserved as intended, then copy the result.
FAQ
Ampersands, angle brackets, double quotes and single quotes.
No. It decodes semicolon-terminated entities while preserving literal tags in the input.
No. It converts text characters; displaying untrusted HTML still requires context-aware output handling.