News and Articles AI Chat Assistant Text-to-Image AI Photo Background Changer Background Remover Calculator Complete My thoughts (AI) Grammar, Spelling & Style Checker PDF Generator Dictionary - Word Definitions Exif Data Viewer Exif Data Remover Photo Editor Convert your Photos to Black and White AI Photo Restoration JSON Formatter Javascript Formatter XML Formatter CSV - JSON Converter Pretty HTML Formatter QR Code Generator Weather Forecast World Clock Color Picker Android Asset Studio Discount/Tip Calculator Embeddable Calculator Widget XSLT Tester Javascript Editor and Tester Translate Code Snippets of Javascript Regular Expression (regex) Tester Markdown Editor Shopping List Search Buy and Sell Sites Sketch String Utilities URL Decoder & Encoder What's My IP Address World Map

HTML FormatterHTML Formatter

Format your HTML - get those indents right!

Formats your HTML, XML, or CSS source content. Just type or paste your source content into the text panel on the left and the formatted content appears in the right-hand panel. The tool will attempt to detect your source content and format it appropriately. The tool will remember your source content so when you revisit the page the content will still be available. You can clear the source panel at any time.
  • Click the Copy button to copy your formatted content to the clipboard.
  • Click the Replace will replace your source content with the formattted version.