HTML to Pug Converter

Paste any HTML document or fragment and get clean, properly indented Pug (formerly Jade) template code in return, ready to drop into your project.

Pug's whitespace-based syntax removes a lot of repetitive markup, but converting existing HTML by hand is tedious and error-prone. This tool automates that conversion for you.

How it works

  1. Paste your HTML into the editor.
  2. Get instant Pug output on the right.
  3. Copy the converted template into your project.

Key features