Skip to content
DOOLS

HTML Encoder/Decoder

Encode and decode HTML entities to prevent XSS and display special characters

Plain Text

Tab indents, Shift+Tab outdents. Press Escape, then Tab to leave the editor.
Lines: 0Characters: 0

Encoded HTML

Lines: 0Characters: 0

Decoder

Tab indents, Shift+Tab outdents. Press Escape, then Tab to leave the editor.
Lines: 0Characters: 0

Decoded Result

About HTML Encoding

  • Prevents XSS (Cross-Site Scripting) attacks
  • Safely display user input in HTML
  • Converts special characters like <, >, &, " to entities
  • Essential for web security and data integrity