HTML Formatter
Format HTML markup and embedded CSS or JavaScript with Prettier. Processing stays in your browser; output is not rendered or sanitized. Input is limited to 50,000 UTF-16 code units.
Formats HTML markup and embedded CSS or JavaScript where supported. Output is never rendered; formatting does not sanitize markup or prove it is safe. Maximum input: 50,000 UTF-16 code units.