Convert special characters to HTML entities and decode HTML entities back to plain text
Type or paste the text containing special characters or HTML entities into the text area above.
Click "Encode HTML" to convert special characters to entities, or "Decode HTML" to convert entities back to characters.
The result appears instantly below. Copy the encoded or decoded text for use in your HTML documents.
Converts <, >, &, ", ' to their HTML entity equivalents
Converts HTML entities back to their original character form
Ensures special characters display correctly in HTML documents
Encoding HTML entities helps prevent cross-site scripting vulnerabilities