Tools for web developers
Format, minify and validate code. All tools except the HTML Validator run in your browser without sending data; the HTML Validator checks code on our server.
Popular tools
Tools →HTML Formatter & Minifier
Format and minify HTML code online. Fully processed in your browser, nothing sent to a server.
JSON Formatter & Validator
Format, validate and minify JSON online in your browser.
Base64 Encode/Decode
Base64 encode and decode in your browser, with correct handling of Cyrillic and emoji.
Regex Tester
Test a regular expression against sample text in your browser, with match highlighting.
Meta Tags Generator
Generate title, description, Open Graph, and Twitter Card tags for a page.
JWT Decoder
Decode a JWT's header and payload in your browser. Signature is NOT verified.
Learn and practice HTML
HTML Editor Online
Write HTML with syntax highlighting and line numbers, see a live preview, format or minify it, and open or save .html files — all in your browser.
Learn HTML
A free interactive HTML course for beginners — with code examples and practical exercises.
HTML Practice
Practical HTML exercises for self-study and classroom practice.
Reference
HTML →The <a> tag
The href, target, rel, and download attributes of the <a> tag, with examples.
<img>The <img> tag
The src, alt, loading, and srcset attributes of the <img> tag, with examples.
<form>The <form> tag
The action, method, and enctype attributes of the <form> tag, with an example.
<input>The <input> tag
Types and attributes of the <input> tag: type, name, value, required, pattern.
Snippets
Snippets →Center an element horizontally and vertically
The simplest modern way to center a block using flexbox.
htmlResponsive image
How to give the browser several image variants for different screen sizes.
cssSticky header
A header that stays visible while the page scrolls: copy-ready HTML and CSS with position: sticky and top: 0, plus why sticky needs a scrolling parent.
cssResponsive table
An overflow-x:auto wrapper for horizontal table scrolling on narrow screens.
Where your code is processed
Tools on this site process your code in your browser: what you type or upload is not sent to a server. The exception is the HTML Validator: to run the check, your code is sent to our server.