HTML to Jade
Convert HTML to Jade in your browser. The conversion is structural and runs locally.
What this html to jade does
Convert HTML markup to indented Jade: element nesting, ids, classes, attributes and text. Inline scripts and styles are kept as text, not executed.
How to use it
HTML to Jade: paste the input into the box above, and press Run to get the output below.
Worked example
Input:
<div class="card"><h2 id="title">Title</h2><p>Body text</p><ul><li>One</li><li>Two</li></ul></div>
Output:
div.card
h2#title
| Title
p
| Body text
ul
li
| One
li
| Two
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads input and returns output; reloading the page discards both.
Convert HTML markup to indented Jade: element nesting, ids, classes, attributes and text. Inline scripts and styles are kept as text, not executed.
Convert HTML to Jade in your browser. The conversion is structural and runs locally.
How to use it
HTML to Jade: paste the input into the box above, and press Run to get the output below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads input and returns output; reloading the page discards both.
What to Expect
Best for
- Converting input to output when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
<div class="card"><h2 id="title">Title</h2><p>Body text</p><ul><li>One</li><li>Two</li></ul></div>
Sample output
div.card h2#title | Title p | Body text ul li | One li | Two
Frequently asked questions
How do I use the html to jade?
HTML to Jade: paste the input into the box above, and press Run to get the output below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.