Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>n8n2py – n8n ↔ Python ConverterNew to Visual Studio Code? Get it now.
n8n2py – n8n ↔ Python Converter

n8n2py – n8n ↔ Python Converter

Preview

n8n2py

|
874 installs
| (0) | Free
Bidirectional conversion: n8n ↔ Python FastAPI. Convert n8n workflows to Python or Python scripts to n8n workflows — all inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

n8n2py – n8n → Python FastAPI (VS Code Extension)

Pro Required Conversion Workspace Trust

Convert n8n workflow JSON into a ready‑to‑run Python FastAPI project directly inside VS Code. Conversion runs fully locally. Supabase is only used for sign‑in (Pro plan confirmation) and optional telemetry.

Important:

  • Sign‑in required for all conversions (no anonymous conversions).
  • Pro plan ($49/month) required for conversion.
  • Conversion outputs: main.py, requirements.txt, Dockerfile, README.md.

Links:

  • Pricing: https://n8n2py.me/pricing
  • Templates: https://n8n2py.me/templates
  • Blog: https://n8n2py.me/blog
  • Supported Nodes: https://n8n2py.me/supported-nodes

Features

  • Sidebar UI with Welcome screen → Sign in → Drag & drop / Paste to convert
  • Conversion is 100% local (no web API calls for codegen)
  • Supported Nodes panel (searchable) for quick coverage inspection
  • Recents list + Clear button
  • “Open folder after convert” toggle
  • Theme-aware UI (adapts to VS Code/Windsurf)
  • Workspace Trust enforced (no writes in untrusted workspaces)

Supported Nodes (1000+)

  • Web: https://n8n2py.me/supported-nodes (cards UI with name + link)
  • In editor: Activity Bar → n8n2py → “Supported Nodes” (searchable list)
  • These lists reflect what’s bundled in the VSIX at build time.

Usage

  1. Install the extension and open the n8n2py view in the Activity Bar.
  2. Click “Sign in / Sign up” to authenticate (Supabase/GitHub OAuth).
  3. Drop an n8n workflow JSON (or paste JSON) into the drop zone.
  4. The extension validates and converts locally, then writes:
    • main.py
    • requirements.txt
    • Dockerfile
    • README.md
  5. Toggle “Open folder after convert” if you want the output folder auto‑revealed.

Note: The workspace must be trusted (VS Code will prompt). Conversions are blocked in untrusted workspaces.

Settings

  • n8n2py.supabaseUrl (string): Supabase project URL (required)
  • n8n2py.supabaseAnonKey (string): Supabase anon key (required)
  • n8n2py.showStatusBar (boolean, default true): Show status bar shortcut
  • n8n2py.enableCodeLens (boolean, default true): Show helpful CodeLens on JSON
  • n8n2py.enableTelemetry (boolean, default true): Anonymous usage analytics (no workflow content)

Security & Privacy

  • Conversion runs locally; no workflow content is sent to servers.
  • Sign‑in and Pro plan checks use Supabase.
  • Telemetry can be disabled via n8n2py.enableTelemetry.
  • Workspace Trust enforced for write operations.

Tutorial

  • README quickstart above
  • Full tutorial: https://n8n2py.com/vscode/extension-tutorial

How It Works (Under the Hood)

  • Bundled engine: The converter and node handlers are imported from the n8n2py web project at build time and bundled into the VSIX (no runtime dependency on the website).
  • Fully local codegen: Drag‑and‑drop or paste JSON → we parse, validate, and generate main.py, requirements.txt, Dockerfile, README.md locally.
  • Pro gate: Sign‑in with Supabase (GitHub OAuth) is required. We check plan/allowance via a Supabase RPC before conversion.
  • Trust model: Conversion writes files, so we require a trusted workspace. VS Code prompts if needed.
  • Telemetry: Anonymous event counts (no workflow content). Controlled by n8n2py.enableTelemetry.

Quick Demo (GIF)

Add a short GIF to show: Open sidebar → Sign in → Drag JSON → Conversion complete.

  • File used here: media/dragdrop.gif
  • Replace the placeholder by recording a short .mov/.mp4 and running:
    • ./scripts/make-demo-gif.sh media/raw/dragdrop.mov
    • Requires ffmpeg (and optionally gifsicle)
  • Markdown snippet:
![Drag and Drop Conversion](https://github.com/aditybdev/n8n2py-vscode-extension/raw/HEAD/media/dragdrop.gif)

Development & Build

  • Install deps: npm ci
  • Build: npm run build
  • Package VSIX: npm run package (or npm run package:report to print VSIX size)

Submit to Marketplace

  • VS Marketplace: https://code.visualstudio.com/api/working-with-extensions/publishing-extension
  • Open VSX (Windsurf/Cursor): https://open-vsx.org/
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft