HTML to Pug Converter - Online Indented Template Syntax
Convert standard HTML into Pug (formerly Jade) syntax. Clean, indented output. For Node.js templating. Client‑side.
UD5 Toolkit
Compile indented Pug (Jade) templates into clean HTML instantly. Fast, client-side conversion with real-time preview. No server uploads required.
pug npm package loaded via CDN to compile your Pug code directly in the browser. The conversion happens entirely client-side — your code never leaves your device. Simply type or paste Pug syntax into the left editor, and the compiled HTML appears instantly on the right. The tool supports real-time conversion with a smart debounce, so you see results as you type. You can also load sample templates to explore Pug's features.
div.class#id), attributes in parentheses, nested indentation, text blocks with |, JavaScript expressions with = and #{} interpolation, conditionals (if/else), iteration (each/in, while), mixins with mixin and +call, block extends/includes, filters (markdown, coffeescript), and doctype declarations. Even complex nested structures with dynamic data are handled accurately.
div.classname → <div class="classname">div#unique-id → <div id="unique-id">button.btn.btn-primary#submit-btn → <button class="btn btn-primary" id="submit-btn">span.text-muted.small → <span class="text-muted small">div is assumed by default.
if condition / else if / else for conditional renderingeach item in array for iterating over arrayseach value, key in object for iterating over objectswhile condition for while loopsfor item in array as an alternative syntaxdiv(class="foo" is invalid.= or #{} interpolations.Convert standard HTML into Pug (formerly Jade) syntax. Clean, indented output. For Node.js templating. Client‑side.
Write a standard README with pre‑filled sections like Installation, Usage, and License. Export as Markdown. Save time.
Convert dates between Hijri and Gregorian using the Umm al‑Qura algorithm. Approximate local moon sighting may vary.
Convert any text to upside down (flipped) characters using Unicode mappings. Copy and paste to social media. 100% local, no data sent.
Enter CMYK values and find the closest Pantone Solid Coated color. For print design reference. Client‑side lookup.
Enter L*a*b* values and see the corresponding RGB and hex color. Useful for advanced color manipulation.
Pick any emoji and download it as a high‑resolution PNG image with transparent background. For social media or icons.
Convert hex or RGB to CIELAB L*a*b* values. Understand perceptual lightness and color opponents. Local math.
Convert currencies using a built‑in table of approximate fixed rates. Useful for quick estimates without live data. Local.
Convert Markdown to styled HTML that retains formatting when pasted into Google Docs or Word. Headings, bold, lists. Client‑side.
Convert any image into colored ASCII art using divs with background colors. Creates a stunning text‑based replica. View & copy HTML.
Type or paste Korean Hangul and see the revised romanization. Also works backwards for basic words. Study aid.
Paste CSV and get a beautiful HTML table with sortable headers (optional). Copy the full HTML/CSS snippet. Local.
Enter a Kelvin value (1000‑40000) and see the approximate white‑balance color. Photography and lighting reference.
Convert a numeric amount into English words, perfect for writing checks or legal documents. Supports USD/GBP styles.
Convert between Gregorian and Hijri (Islamic) dates. Approximate visual reference. Local algorithm.
Convert a Gregorian calendar date to its Julian Day Number and vice versa. Used in astronomy and mainframe computing.
Encode short audio clips into Base64 data URIs for direct embedding in HTML5 <audio> tags. No external files needed.
Translate between binary and Gray code (reflected binary code). See the bit changes. Useful for digital logic.
Encode decimal integers into signed magnitude binary representation and decode back. Learn computer arithmetic.
Convert a decimal number to 32-bit single precision IEEE 754 format. See sign, exponent, mantissa bits. Developer tool.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Convert minutes to decimal hours and vice versa. Essential for billing and payroll. Instant conversion with a handy chart.
Convert between units of absorbed dose and equivalent dose (Gray, Rad, Rem, Sievert). Educational and reference. Local calculation.
Convert between decimal degrees, degrees-minutes-seconds (DMS), radians, and grads. High-precision for surveying and navigation. Local tool.
Convert torque units between Newton-meter, foot-pound, inch-pound, and more. Essential for mechanics and engineers. Instant local conversion.
Convert audio files between popular formats like WAV, MP3, and OGG directly in the browser. No upload, fast encoding using WebAudio and ffmpeg wasm.
Strip HTML tags and convert web content to plain Markdown. Preserve headings, lists, and links. Perfect for content migration. All processing in browser.
Easily convert JSON data arrays into CSV format for Excel or database import. Handles nested structures with flattening options. All conversions happen locally, no data uploaded.
Convert between common pressure units: Pascal, Bar, PSI, atmosphere, and Torr. Useful for engineering and weather enthusiasts. Local calculation.