Developer

HTMLtoPug

Convert raw HTML into clean, indentation-based Pug (Jade) templates with automatic ID and class mapping.

HTML to Pug

Clean, indentation-based template conversion

Real-time Parsing

HTML Code

Pug Template

Awaiting HTML Input...
pug engine v1.0

Procedural Mapping

Automatically converts IDs to #id and classes to .class shorthand for cleaner Pug templates.

Indentation Logic

Deep DOM traversal ensures perfect 2-space indentation, preserving your document's original hierarchy.

Safe Attributes

Handles complex attributes and quote escaping automatically, preventing breaks in your template files.