codefmt formats and lints the code you write inside automation-platform code steps. it wraps your snippet in each platform's runtime shell before formatting, so top-level await, bare return, and runtime globals like inputData or $input parse cleanly instead of erroring, then strips the wrapper and hands back clean code. standard formatters parse a snippet as a whole program and stop at the first bare return.
pick a platform for the right wrapper, globals, and examples: zapier, n8n, make, pipedream, and hubspot data hub. javascript and typescript run on biome, python on ruff (500+ lint rules) via the dedicated python formatter.
hubl is hubspot's cms template language. most hubl tools format but do not lint, so template bugs surface only after you publish. codefmt's hubl linter catches them first, with one-click safe fixes; read the full hubl lint rules reference, or format a template in the hubl tool.
the chrome and firefox extension adds a right-click “fix with codefmt” inside the platform editor, so you can format without leaving the page. everything runs free, in your browser, with no accounts and no tracking. browse all platforms, tools, and comparisons.
codefmt is a free online code formatter and linter built for automation platforms. it formats and lints the javascript, typescript, python, and hubl you write inside code steps in Zapier, n8n, Pipedream, Make, and HubSpot. it runs in your browser, ships as a chrome and firefox extension, and has no accounts or tracking.
automation platforms wrap your code in an async function and inject runtime globals like inputData or $input, and they allow top-level await and bare return. standard formatters parse your snippet as a complete program, so they stop at the first bare return or flag those globals as undefined. codefmt wraps your snippet in the platform's runtime shell first, formats it, then strips the wrapper, so it parses cleanly.
Zapier, n8n, Pipedream, Make, and HubSpot Data Hub for javascript and python code steps, plus HubL for HubSpot CMS templates. n8n and Pipedream also support typescript. select a platform tab to get its exact runtime shell, globals, and code examples.
both. javascript and typescript are linted with oxlint, python with Ruff (500+ rules), and HubL with a dedicated linter that catches unclosed blocks, unknown filters, deprecated tags, and js-mindset traps, with one-click safe fixes.
yes. codefmt is free with no accounts and no limits. javascript, python, and hubl format client-side in your browser via WebAssembly, and there are no tracking cookies. analytics are anonymous and aggregate.
paste code to format, or