Free HTML to Jade/Pug Converter

Free
Utility

Convert HTML to clean, structured Jade/Pug or vice versa.

(4.6) reviews
No signup required

HTML ↔ Jade/Pug

Quick Tips:
  • • Use class names with dots: .container.fluid
  • • IDs with hash: #header
  • • Attributes in parentheses: (type="text")
  • • Indent child elements
  • • Use | for text content

Examples

Basic Layout

Simple HTML structure with header and content

<div class="container">
  <header class="header">
    <h1 class="title">Welcome</h1>
    <nav class="nav">...

Form Elements

Common form inputs and controls

<form class="contact-form">
  <div class="form-group">
    <label for="name">Name:</label>
    <input type="text" id="name" placeholder="Enter your name" required>...

Nested Structure

Complex nested elements with attributes

<div class="card">
  <div class="card-header">
    <h2 class="card-title">Product</h2>
    <span class="badge">New</span>...

Attributes & Classes

Various ways to write attributes and classes

<div class="wrapper theme-dark" id="main">
  <a href="/" class="link active" data-type="home">
    <i class="icon icon-home"></i>
    <span class="text">Home Page</span>...

Convert HTML to Pug & Vice Versa

Professional Features

Quickly transform your HTML markup into clean Jade/Pug syntax and back with a single click!

Two-Way Conversion

Easily convert between HTML and Jade/Pug formats with high accuracy.

Feature
Active

Custom Formatting Options

Adjust settings like tab size, class notation, and attribute style for a tailored output.

Feature
Active

Live Code Preview

Instantly view your converted code before copying it to ensure accuracy.

Feature
Active

One-Click Copy

Copy your converted code instantly and use it in your projects.

Feature
Active

Developer-Friendly

Perfect for front-end developers who need quick and efficient HTML-Pug conversions.

Feature
Active

Syntax Highlighting

Enhanced readability with syntax highlighting for better coding experience.

Feature
Active
6+
Features
99.9%
Reliability
24/7
Available
Free
Always

How to Use the HTML to Jade/Pug Converter

Simple 5-step process

Follow these easy steps to get started with HTML to Jade/Pug Converter and achieve your goals quickly.

1
Step 1

Enter your HTML or Jade/Pug code in the input field.

Easy
2
Step 2

Select whether to convert from HTML to Jade/Pug or vice versa.

Easy
3
Step 3

Customize settings such as indentation, class notation, and attribute formatting.

Easy
4
Step 4

Preview the converted code to ensure accuracy.

Easy
5
Step 5

Copy the converted code with a single click.

Easy
Ready to start?
Tool is ready to use
Quick Start
Begin in seconds
Easy Process
No learning curve
Instant Results
Get results immediately

Frequently Asked Questions

10 questions answered

Find answers to commonly asked questions about our tools and services.

Still have questions?

Can't find what you're looking for? We're here to help you get the answers you need.

10+
Questions
24/7
Available
95%
Solved Rate
1min
Avg Response