All tools

HTML entity encoder / decoder

Escape special characters as HTML entities so text is safe to put in markup, or decode entities back to plain text. Nothing leaves your browser.

0 characters
0 characters

Encoding always escapes & < > " '. Turn on Encode all non-ASCII to also escape emoji and non-Latin scripts (like Nepali) as numeric entities. Decoding understands every named entity HTML defines, plus decimal and hex forms.