HTML Pretty Print is easy to use tool to pretty print HTML String. Copy, Paste, and Prettify.
HTML data
<!DOCTYPE html> <html> <head> <title>Largest companies by market cap — US Stock Market</title> <meta charset="UTF-8" /> </head> <body> <h1>Apple : 2037 Billion</h1> <h2>Microsoft : 1624 Billion</h2> <h3>Amazon : 1611 Billion</h3> <h4>Google : 1058 Billion</h4> <h5>Alibaba : 826 Billion</h5> <b>This data is as of 21 Sep 2020.</b> </body> </html>