Html To Jade Converter
HTML to Jade Converter transforms HTML code into Jade/Pug syntax directly in your browser. Paste HTML or upload an HTML file, choose formatting options, and copy or download the converted Pug output.
What Is an HTML to Jade Converter?
An HTML to Jade Converter converts standard HTML markup into Jade syntax, the predecessor to the modern Pug templating language. It simplifies the process of migrating HTML templates into a concise, indentation-based template format.
How to Convert HTML to Jade
Upload an HTML file or paste your HTML code into the input area.
Enable Pretty Format Pug Output if you want formatted Pug code.
Enable Preserve HTML Comments to keep comments in the converted output.
Click Convert to Pug.
Review the generated Pug code.
Copy the output or download the Pug file.
Example:
Input:
<div class="container">
<h1>Hello World</h1>
<p>Welcome to my website.</p>
</div>
Output:
.container
h1 Hello World
p Welcome to my website.