Pug is a templating language, like HTML and JSX, but more terse. It was called Jade prior to 2016. Learn more about Pug.

This website is a frontend to the html2pug Node.js package, made for quick conversions through the browser.

Open source

The source code for this website, along with the code for the html2pug library, are both open source and available on Github. PRs for both are welcome.


This website was developed by izolate, who also wrote the html2pug npm package it is based on.

If you have any comments, please tweet @izolate, or open up an issue on Github to submit a bug report. Thank you for your contributions.


Tabs or Spaces

Commas in attributes

Quote style

Is HTML Fragment


About this page ↓