HTML to Pug Converter

This online tool will convert your HTML code into Pug code. Pug is an HTML preprocessor. Simply enter your HTML code into the textbox below and click on convert, your Pug code will then be available for download or you can copy to the clipboard.

If you need to compile Pug to HTML, please use our Pug to HTML Compiler

PUG Code