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

n8n2py Bidirectional Converter

n8n2py

|
415 installs
| (0) | Free
Convert between n8n workflows and Python (FastAPI) scripts directly in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

n8n2py Bidirectional Converter

Convert between n8n workflows and Python (FastAPI) scripts directly in VS Code.

Features

  • Bidirectional Conversion: Seamlessly convert n8n JSON workflows to Python code and vice versa.
  • Python Generation: Generate clean, production-ready Python code, including FastAPI wrappers.
  • Workflow Visualization: (Coming soon) Visualize your workflows directly within the editor.
  • Local Privacy: All conversions happen locally on your machine. No data leaves your computer.

Usage

  1. Open the n8n2py extension from the activity bar or use the command palette.
  2. To Convert to Python:
    • Select an n8n workflow JSON file.
    • Click "Convert to Python".
    • Review and save the generated Python code.
  3. To Convert to n8n:
    • Select a Python script.
    • Click "Convert to n8n".
    • Get a JSON workflow ready to import into n8n.

Requirements

  • VS Code 1.80.0 or higher.
  • A valid n8n workflow JSON or a compatible Python script.

Extension Settings

This extension contributes the following settings:

  • n8n2py.enableTelemetry: Enable/disable usage telemetry (default: true).

Known Issues

  • Complex n8n nodes might require manual adjustments in the generated Python code.
  • "Code" nodes in n8n are converted as comments or placeholder functions and need manual implementation.

Release Notes

2.0.0

  • Major release of n8n2py Bidirectional Converter.
  • Support for core n8n nodes and basic Python script generation.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft