# Works with your LTspice, SPICE and other simulator files

Your existing circuits are worth more than any new tool. Voltecx supports many formats. It opens them, tells you exactly what it could not map, and, for LTspice and several other formats, writes your changes back into the original file.

## What opens and what writes back

| Format | Read | Write |
|---|---|---|
| Voltecx `.voltecx` (and `.pcraft` from older versions) | yes | yes. Plain JSON, so version control shows what changed |
| SPICE netlist (`.cir`, `.net`, `.sp`, `.spice`) | yes | yes. Parts with no SPICE equivalent are listed as warnings |
| LTspice schematic `.asc` | yes (beta) | yes, back into the same file |
| Files from other simulators | yes (beta) | depends on the format. Where Voltecx cannot write a format, **File > Save** asks for a new `.voltecx` file |

## Write-back that keeps your project clean

The imported file is kept inside the circuit. When you edit and export, Voltecx changes only the lines your edits touch. Change one value and one line changes. A file you did not edit comes back byte for byte. On a set of public sample files, **all 332 LTspice files and all 122 files in the other supported write-back format** came back byte for byte, with no crash in 699 files (measured on 2026-10-15).

Net labels go both ways: LTspice `FLAG`s and the named-tag blocks of other simulators become labels, and labels you add or rename are written back.

## LTspice files in detail

- `.include`, `.lib` and `.asy` symbol files are followed, relative to the file, with a symbol search path for libraries.
- Directives are read: `.step`, `.ac`, `.op`, `.dc`, `.tf`, `.meas` and `.options`. `analysis.runImported` runs what the file asked for without editing the circuit.
- `Rser`, `Lser` and `Rpar` become winding resistance, ESR, ESL and core loss. PWL sources import as PWL sources.
- Files saved in the Windows code page or as UTF-16 are read and written back in the same encoding.

Read the [migration guide](https://voltecx-web.nguyenvanqui291.workers.dev/guides/migrate-from-ltspice).

## Files from other simulators

Schematics from other simulators open with their parts placed where they were and the wiring rebuilt from the drawing. Control code written in a C block is not run when the format cannot carry it across; the code is kept with the circuit, with a comment that names the net on each pin, so you know what to rebuild. Parts that were not mapped are listed in the Problems panel, most important first. Read the [guide for switching from another simulator](https://voltecx-web.nguyenvanqui291.workers.dev/guides/switching-from-another-simulator).

## Boards in other PCB tools

The KiCad project Voltecx exports is also how a design reaches other PCB tools: many of them import a KiCad 8 project. The folder stands on its own, with every symbol defined in the schematic, footprints named by their KiCad library id and no path from your computer. Read [Open a Voltecx board in another PCB tool](https://voltecx-web.nguyenvanqui291.workers.dev/docs/manual/09-import-export/#open-a-voltecx-board-in-another-pcb-tool).

## Honest limits

- Another PCB tool's KiCad importer may skip custom design rules; check high-voltage clearances there.
- Nothing was opened in another tool to test the write-back. The guarantees come from the file format rules and tests on public sample files.
- In LTspice files, rewiring a symbol or changing its orientation is reported, not written. In some other formats, edited connections lose their drawn bend points.
- Import says which parts were not mapped. Read the warnings before trusting a converted circuit, and run `circuit.explain` to check the topology.
- Many files that do not simulate rely on variables defined outside the file, such as a missing include or a MATLAB script.

## Trademarks

LTspice is a trademark of Analog Devices, Inc. Other product names are trademarks of their owners. Voltecx is an independent product, not affiliated with or endorsed by them. Names are used only to describe file compatibility.
