Home / Guides / n8n workflow linter — check workflow JSON before you import it

n8n workflow linter — check workflow JSON before you import it

A free 27-rule linter and node lookup for n8n workflow JSON. It catches invented node names, bad connections, and keys left in the file. Runs on your computer.

This is a free linter for n8n workflow JSON. You point it at a file, or a folder of files, and it reports errors and warnings before you import the workflow. It also looks up real n8n node names, versions, and parameters so you (or an AI agent) can use the right ones. It runs on your computer. Nothing in the file is sent to us.

Updated December 1, 2026. Last tested November 25, 2026 with n8n 2.49.6.

What it checks

The free tool is called n8n Lint. The main script is n8n_lint.py. It runs 27 rules: 13 errors and 14 warnings. The rules cover structure, names, node types and versions, connections, expressions, and secrets. If a node name looks like a typo, the linter suggests the closest real name.

A second script, n8n_nodes.py, searches all 572 built-in nodes of n8n 2.49.6. It can show type strings, versions, credentials, and parameter names. It has search, show, and triggers commands.

You also get:

  • A skill so Claude Code, Cursor, or Codex can run both scripts for you (npx skills add tidybytetools/n8n-lint)
  • A test file that checks every rule (41 checks)
  • One example workflow that should lint clean
  • --json and --strict flags for CI

It needs Python 3.9 or newer. It uses only the Python standard library. There is no install step and no API key.

What it does not do

It does not run the workflow. It cannot tell you if an API key is valid, if a webhook will be reached, or if the business logic is right. Community nodes, and built-in nodes newer than n8n 2.49.6, show as unknown (rule E006). Treat the report as a check of the file, not a proof that the workflow is safe in production.

Free linter or the paid packs

The linter is free, including on GitHub under an MIT license. Two paid packs sit next to it if you want more than a file check.

n8n Lint (free)n8n Harden (free sample)n8n Production Hardening Pack ($9)n8n Builder Kit for Claude Code ($9)
PriceFreeFree$9$9
27-rule linter and 572-node lookupYesThe free harden sample is a 4-rule harden linter on top of a webhook demoYes, plus a harden linterYes, plus a Python workflow builder (22 helpers)
What elseSkill, tests, one exampleOne webhook workflow with header auth in demo modeFive workflows: header auth, HMAC-SHA256, dead-letter retries, HTTP timeout and fallback, and secret redaction, plus tests3 skills (build, review, debug a failed run), 7 reference pages, 12 prompts, 3 slash commands, 3 demo workflows, 64 offline checks

How to run it

cd skills/n8n-lint/scripts
python3 n8n_lint.py ../../../examples/
python3 n8n_nodes.py search "google sheets"
python3 n8n_nodes.py show httpRequest

A clean file prints a line like 0 error(s), 0 warning(s). Each finding has a code, the node name, and a plain fix.

To install the skill:

npx skills add tidybytetools/n8n-lint

Or, in Claude Code:

/plugin marketplace add tidybytetools/claude-plugins
/plugin install n8n-lint@tidybytetools

Questions

Does this change my workflow file?

No. The linter only reads the file and prints a report. It does not rewrite the JSON.

Can I use it in CI?

Yes. Use --json for machine-readable output and --strict if you want warnings to fail the job too.

Is the hardening pack the same as the linter?

No. The linter checks workflow JSON. The hardening pack is five ready-made n8n workflows for webhook auth, retries, and redacting secrets, plus a smaller harden linter. You can use the free linter on those workflows, or on your own.

Updated 2026-12-01.