HTML formatieren/minimieren
HTML-Quellcode formatieren oder minimieren. Lesbare Einrückung oder kompakte Ausgabe für deine Entwicklung wählen.
So funktioniert’s
- Füge deine Eingabe ein oder lade das folgende Beispiel.
- Passe die Optionen an und wähle „HTML formatieren“.
- Prüfe das Ergebnis und kopiere es oder lade es herunter.
Keine Uploads. Kein Konto. Die Verarbeitung bleibt in deinem Browser.
Beispieleingabe
<!doctype html><html lang="en"><head><title>Inventory</title></head><body><!-- Product summary --><main><h1>Available items</h1><section class="products"><article data-sku="KB-01"><h2>Keyboard</h2><p>In <strong>stock</strong> & ready.</p><ul><li>USB-C</li><li>Backlit keys</li></ul></article></section><footer><a href="/help">Help</a></footer></main></body></html>