Skip to main content
忆云竹

HTML entity converter

Escape HTML special characters or decode named and numeric entities. Optionally encode non-ASCII characters as numeric entities.

Format
Updates as you type or change an option

Updates as you type or change an option

Processed in this browser. Nothing is uploaded or saved.

About this tool

Escape HTML special characters or decode named and numeric entities. Optionally encode non-ASCII characters as numeric entities.

How to use

Enter an HTML fragment on the left to turn its special characters into entities. Paste entities such as & or 你 on the right to recover the text.

By default only HTML special characters are escaped. The optional mode also escapes non-ASCII characters. Results are displayed as text and never executed. Decoding handles semicolon-terminated entities and leaves unknown ones unchanged. Input limit: 2 MiB.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.