What is HTML encoding?
HTML encoding replaces special characters with HTML entities so they can be safely displayed in HTML.
Developer Tools
Encode and decode HTML entities directly in your browser.
Escape special characters like ampersands, angle brackets, quotes, and apostrophes so code can be displayed as text in HTML.
Encode and decode common HTML entities in your browser.
// Encoded or decoded output will appear here. Add HTML markup, copied text, or encoded entities to the input.
Encode special characters or decode common named and numeric entities.
Use the result in documentation, templates, CMS fields, or examples.
`<strong>ToolRivet</strong> & "builders"` encodes angle brackets, ampersands, and quotes as HTML entities.
HTML encoding replaces special characters with HTML entities so they can be safely displayed in HTML.
Yes, encoding and decoding happen in your browser.
Encode HTML when you need to display special characters as text instead of having them interpreted as markup.