HubL Code Formatter
One-click formatting for HubSpot Design Manager. Clean up messy HubL, HTML, CSS, and JavaScript directly in the HubSpot editor—no copy-paste to an IDE.
Design Manager doesn't format code.
HubL Code Formatter does, inside HubSpot, with one shortcut: Shift + Tab.
Every HubSpot dev knows the pain: messy templates, mixed indentation, HubL logic jammed into HTML. Hit Shift + Tab and the whole file is cleaned up in place.
Everything you need to write cleaner HubL
Smart HubL Formatting
Understands HubL so generic formatters don't have to. Tags, filters, print expressions, comments, and drag-and-drop blocks are formatted without breaking templates.
Handles Everything
Formats HubL, HTML, CSS, and JavaScript in the same file. Nested HubL inside HTML, inline CSS, script tags—everything is cleaned up together.
Rainbow Indentation
Optional rainbow indentation so you can see nested blocks at a glance. Turn it on when debugging deep templates, off when you don't need it.
Tag Matching
Click on any opening tag—HubL or HTML—to highlight its closing tag. No more hunting for the end of a long {% if %} or <div>.
Your Code Stays Local
All formatting runs in your browser. No code is sent to external servers, no project files leave HubSpot.
Configurable
Configure indent size, line length, shortcut and more so the formatter matches your style instead of forcing one.
Up and running in 2 minutes
Install the extension
Install HubL Code Formatter from the Chrome Web Store.
Purchase license
Activate a €19.99/year license (plus VAT) for unlimited formatting.
Activate
Paste your license key into the extension settings.
Format
Open a HubSpot file and press Shift + Tab or click "Format".
FAQs
Is my code sent to your servers?
addCan I use one license on multiple computers?
addWhat happens after one year?
addWill it break my HubL?
addDoes it work in modules and Design Manager?
addWhy not just use an IDE formatter?
addPricing
add€19.99 per year (plus VAT) — one license per user.