Error Message
HTML to PUG Converter helps to convert HTML to PUG whitespace sensitive syntax for writing HTML and helps to save and share PUG.
What can you do with HTML 2 PUG?
- This tool helps you to convert your HTML Entity/String/Data to PUG String/Data.
- This tool allows loading the HTML URL converting to PUG. Click on the URL button, Enter URL and Submit.
- This tool supports loading the HTML File to transform to PUG. Click on the Upload button and select File.
- HTML to PUG Converter Online works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.
What is PUG?
Pug is a high-performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers.
PUG is used to be know as JADE.
To learn more about PUG, please visit PUG GitHub page.
Example of HTML
HTML Try it.
<h1>h1 State Farm 😎</h1> <h2>h2 Berkshire Hathaway</h2> <h3>h3 Progressive Group</h3> <h4>h4 Liberty Mutual</h4> <h5>h5 Allstate</h5> <h6>h6 Travelers Group</h6>
Converted PUG Template
html
head
body
h1 h1 State Farm 😎
h2 h2 Berkshire Hathaway
h3 h3 Progressive Group
h4 h4 Liberty Mutual
h5 h5 Allstate
h6 h6 Travelers Group
For Advanced Users
HTML External URL
Load HTML External URL in Browser URL like this https://codebeautify.org/
https://codebeautify.org/html-to-pug-converter?url= https://gist.gi thubusercontent .com/cbmgit/ca7 7ec0677c0e18019 cdab8617517d36/ raw/sample.html