Convert Tool

HTML Escape / Unescape

Escape special characters into HTML entities or restore them back.

Convert

Inputs are auto-saved on this device.

Stored only in your browser

Send to another tool

Protect your web applications by escaping special characters into HTML entities, preventing XSS attacks and rendering issues. You can also unescape entities back to their original characters for debugging.

FAQ

How do you escape or unescape HTML online?

Use this HTML escape tool to convert special characters into entities or restore escaped text back into readable characters.

Why would you escape HTML text?

Escaping helps when displaying code snippets, storing user input safely, or preventing raw markup from being interpreted.

When should you unescape HTML entities?

Unescape them when reviewing encoded content, debugging output, or converting copied entity text back to normal characters.