> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deeppcb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Prepare and Export Your PCB Board File for DeepPCB

> Export your unrouted PCB design from KiCad, Altium, EasyEDA, Zuken, OrCAD, PADS, or EAGLE in the right format for DeepPCB placement and routing.

Before uploading to DeepPCB, you need to export your design in a compatible format. DeepPCB reads native **KiCad**, **Altium**, **EasyEDA**, and **Zuken** files, plus **Specctra DSN** — which virtually every major EDA tool can export. Taking a few minutes to prepare your file correctly ensures the AI engine has everything it needs to deliver the best possible placement and routing results.

## Supported Formats

| Format | Extension | Notes |
| - | - | - |
| **KiCad PCB** | `.kicad_pcb`, `.kicad_pro` | Native KiCad format; also supported via the DeepPCB KiCad Plugin for direct integration |
| **Altium** | `.pcbdoc` | Native Altium board file |
| **EasyEDA** | `.json` or `.epro` | `.json` for EasyEDA Standard, `.epro` for EasyEDA Pro; `.epro2` coming soon |
| **Zuken** | (`.dsgf` or `.pcf`) + `.ftf` + `.rulf` | The design file and footprint file are both required; the rules file is optional but strongly recommended — without it every net falls back to 0.15 mm clearance and track width |
| **Specctra DSN** | `.dsn` | Standard interchange format; use it for OrCAD, Allegro, PADS, EAGLE, and any other tool without a native path above |
| **DeepPCB** | `.deeppcb` | DeepPCB's own board format, useful if you generate boards programmatically |

> [!NOTE]
>
> Maximum file size is 100 MB.

> [!NOTE]
>
> If you use KiCad, the DeepPCB KiCad Plugin lets you upload and import results without manually exporting or importing files. See the [KiCad Plugin guide](https://docs.deeppcb.ai/integrations/kicad-plugin.md) for setup instructions.

## Before You Export

Complete these steps in your EDA tool before exporting your board file. Skipping any of them can reduce placement and routing quality.

**1. Complete your schematic and generate the netlist**

Make sure every net is fully defined and the netlist has been pushed to your PCB layout. Unresolved schematic errors carry over into whatever you export.

**2. Place all components on the board**

Place every component inside the board outline — even a rough placement is fine. If you want DeepPCB to optimise placement from scratch, you can spread components loosely around the outline. DeepPCB will re-place them intelligently.

**3. Define your board outline and keepout regions**

Draw a closed board outline on the Edge.Cuts layer (KiCad) or equivalent in your tool. Add any mechanical keepout zones, component height restrictions, or connector clearance areas.

**4. Set up your design rules**

Configure net classes, clearances, via sizes, and trace widths in your EDA tool before exporting. These rules are embedded in the DSN file and used by DeepPCB throughout routing.

**5. Define power plane areas if applicable**

If your design uses copper pour planes for power or ground, define the plane areas and assign them to the correct nets so they export correctly into the DSN.

**6. Tag differential pairs**

If your design includes differential pairs, ensure they are defined as diff pairs in your EDA tool's net class or diff-pair manager. DeepPCB will then apply length matching and gap control automatically.

## Attaching Your Schematic

For KiCad and EasyEDA Standard designs, you can attach the matching schematic alongside the board file. Placement needs it. For routing it is optional, but it improves how accurately DeepPCB classifies your nets — which nets are power, which are ground, which are analog, and how fast the digital ones run.

| Board format | Schematic files accepted |
| - | - |
| **KiCad** | `.kicad_sch` — one or more, so multi-sheet schematics are fine |
| **EasyEDA Standard** | The EasyEDA schematic `.json` |

Add these under **Optional Files** in the **New Board** dialog. The board file alone is enough for routing; [placement](https://docs.deeppcb.ai/guides/placement.md#upload-your-schematic) needs the schematic too. You can review and correct the resulting classification at any time in the **Net Types** tab of [Board Setup](https://docs.deeppcb.ai/guides/board-setup.md).

## Exporting from Each Tool

Upload your tool's native file wherever DeepPCB reads one — it carries more of your design than a DSN export does. Otherwise export Specctra DSN, which virtually every EDA tool can write.

> [tab] KiCad
>
> **Option 1 — KiCad Plugin (recommended):** upload and route without leaving the PCB Editor. See the [KiCad Plugin guide](https://docs.deeppcb.ai/integrations/kicad-plugin.md).
>
> **Option 2 — upload the files:**
>
> 1. Open the board and project in **KiCad 8.0 or later** and save both. Older files load with a warning; KiCad 5 files lose their net classes entirely.
> 2. Upload the `.kicad_pcb` **and** the `.kicad_pro` together. Without the project file, net classes and differential-pair widths and gaps fall back to KiCad defaults.
> 3. Add your `.kicad_sch` sheets under **Optional Files** if you have them.

> [tab] Altium Designer
>
> 1. Open your PCB document in Altium Designer.
> 2. Go to **File → Save As** and keep the default **binary PCB 6.0** format. The legacy ASCII / Protel text format and the older PCB 5.0 binary format are rejected.
> 3. Upload the `.PcbDoc` directly — no DSN export needed.

> [tab] EasyEDA
>
> **EasyEDA Standard:** export the **PCB document** as EasyEDA source (`.json`). Schematic, symbol, footprint and project files are rejected. The schematic `.json` can go alongside it under **Optional Files**.
>
> **EasyEDA Pro:** upload the project file (`.epro`). The project must hold exactly one PCB. Support for `.epro2` is coming soon.

> [tab] Zuken CR-3000 / CR-5000
>
> Export all three files from the same design:
>
> 1. The design file (`.pcf` or `.dsgf`).
> 2. The footprint library (`.ftf`), in the **same unit** as the design file — a mismatch stops the import.
> 3. The rules file (`.rulf`), in **millimetres**. Without it, every net falls back to 0.15 mm clearance and track width, with no via rule.

> [tab] OrCAD / Allegro
>
> 1. Open your board in OrCAD PCB Designer or Cadence Allegro.
> 2. Go to **File > Export > DSN**.
> 3. Configure the export options (include design rules, board outline, and component placement).
> 4. Click **Export**.

> [tab] PADS
>
> 1. Open your layout in PADS Layout.
> 2. Go to **File > Export > Specctra DSN**.
> 3. Confirm the export settings and choose a save location.
> 4. Click **Save**.

> [tab] EAGLE
>
> **Option 1 — ULP script:**
>
> 1. Open your board in EAGLE.
> 2. Open the ULP runner (**File > Run ULP**) and select `specctra.ulp`.
> 3. Follow the prompts to export a `.dsn` file.
>
> **Option 2 — Built-in export (newer versions):**
>
> 1. Go to **File > Export > Specctra DSN** if available in your version.
> 2. Choose a destination and export.

## Tips for Best Results

> [!TIP]
>
> If you have high-speed or sensitive nets (such as USB differential pairs, clock lines, or RF traces) that you want to control manually, pre-route them in your EDA tool first and **lock them there**. From KiCad and Specctra DSN, locked tracks and vias arrive protected and the engine routes around them. From Altium, EasyEDA and Zuken they arrive unprotected, so protect them in the board editor instead. Either way, anything you did not lock may be re-routed — see [Keeping Existing Wiring](https://docs.deeppcb.ai/guides/routing.md#keeping-existing-wiring).

> [!TIP]
>
> Make sure your board outline is a single, fully closed polygon with no gaps or overlapping segments. An ambiguous outline can cause DeepPCB to misidentify the routing area and reduce completion rates.

> [!TIP]
>
> Check that every component has its correct footprint assigned before exporting. Missing or incorrect footprints result in wrong pad geometry in the DSN, which the router cannot correct automatically.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.