HTML Formatter

Workspace

Output

0 lines0 elements0 / 2,097,152 bytes
0 lines0 elements0 bytes

Details

FragmentNo DOCTYPE
0elements
0comments
0scripts
0styles
0duplicate IDs

Help

Guide

How to use

  1. Paste or open HTML and choose Format or Minify.
  2. Review the result, then copy, download, or reuse it.
Help

FAQs

Does formatting sanitize HTML?

No. Formatting and minifying do not make untrusted HTML safe.

Can it format HTML fragments?

Yes. It supports both complete documents and fragments.