HTML-encode Text

Quickly convert characters to HTML entities for safe display.

0 Chars

Prevent XSS

Escapes potentially dangerous characters to prevent Cross-Site Scripting (XSS) attacks.

Obfuscation

"Encode All" mode converts every character to numeric entities, hiding content from simple scrapers.

Instant Safe Code

Perfect for preparing code snippets to display on websites or blogs.

Try These Examples

Basic Tags

Escape HTML tags and ampersands.

Quotes & Attributes

Safely escape quotes for HTML attributes.

Obfuscate Email

Convert all characters to numeric entities to hide from bots.

Code Snippet

Display code snippets safely in HTML.