MojoUtils

HTML Entity Encoder / Decoder

Encodez ou décodez des entités HTML comme < > &

Outils pour développeurs

Input

HTML Entity Encoder/Decoder converts special characters like <, >, &, and " to their HTML entity equivalents and back. This is essential for web developers to safely display user-generated content, prevent XSS attacks, and ensure HTML source code displays correctly in browsers.

Comment utiliser

  1. 1Paste the text or HTML you want to process.
  2. 2Click "Encode" to convert special characters to HTML entities (e.g., < → &lt;).
  3. 3Click "Decode" to convert HTML entities back to regular characters.
  4. 4Review the output.
  5. 5Copy the result with the copy button.

Fonctionnalités

  • Encode <, >, &, ", ' and other special HTML characters
  • Decode HTML entities back to readable text
  • Prevents XSS vulnerabilities in web development
  • Handles all common HTML5 named entities
  • Runs in the browser — no data sent to servers

Questions fréquentes