The toolkit
HTML-based tools
Work with text that needs to move between readable characters and HTML entity references. This group is useful when preparing a code example for a page, inspecting encoded content, or converting characters such as ampersands and angle brackets.
The HTML encoder and decoder lets you choose a conversion mode and copy the result. Its examples explain the available entity styles. For the distinction between displaying text and accepting HTML markup, read HTML escaping versus sanitizing.
Use the HTML minifier to reduce page source with adjustable whitespace, attribute and embedded CSS/JavaScript options.
HTML encoder and decoder
Encode and decode HTML entities, compare HTML5, HTML4, and XML references, and use code examples for JavaScript, Java, Swift, Delphi, and more.
HTML minifier
Reduce HTML size with browser-based minification. Learn how whitespace, comments and attribute options affect your pages, and when gzip or Brotli matters more.