Special characters
Characters that could break markup or be interpreted differently by the browser are safely encoded.
Convert characters like <, >, &, quotes, and Unicode characters (æ, ø, å, Arabic, emoji, etc.) into safe HTML entities. Paste your text and get encoded HTML output immediately.
Useful for templates, email content, code samples, and user-generated text.
Characters that could break markup or be interpreted differently by the browser are safely encoded.
Line breaks can be preserved by converting each newline into an HTML break element.
Angle brackets and related characters are escaped so text stays text instead of becoming markup.
Repeated spaces can be preserved for exact formatting in templates, emails, and content blocks.
HTML escaping converts special characters like <, >, &, and quotes into HTML entities so browsers display them as text instead of interpreting them as HTML tags.
Escaping HTML prevents browsers from interpreting user input as markup. This helps avoid rendering errors and protects against HTML injection when displaying text inside web pages or email templates.
This tool converts characters like <, >, &, quotes, and Unicode characters such as æ, ø, å, Arabic, and emoji into HTML entities.
HTML entities are encoded representations of characters. For example, < represents < and & represents &. They ensure characters display correctly inside HTML.