# KiCad Netlist Importer > Turn a KiCad netlist (.net) into an Ohmforge schematic you can simulate Import a KiCad S-expression netlist into an Ohmforge project: standard resistors, capacitors, inductors, diodes, LEDs, transistors, batteries, switches and 555 timers become simulation parts connected by net labels; no-connect flags and pin types come along. Part of usefulweb.app (https://usefulweb.app/). Part of [Ohmforge](https://ohmforge.usefulweb.app/) (ownerApp: ohmforge). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://ohmforgekicadnetlistimport.usefulweb.app/ (interactive tool at https://ohmforgekicadnetlistimport.usefulweb.app/tool) - JSON API: POST https://ohmforgekicadnetlistimport.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://ohmforgekicadnetlistimport.usefulweb.app/api/v1/tool) - OpenAPI: https://ohmforgekicadnetlistimport.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://ohmforgekicadnetlistimport.usefulweb.app/mcp - tool `ohmforge_kicad_netlist_import` ## Inputs - netlist (textarea): KiCad netlist (.net) - Paste a netlist exported from KiCad (File → Export → Netlist…, format KiCad) or from Ohmforge. At most 500 components and 5000 nets. ## Method - Reads the file with a general S-expression parser (lists, bare atoms, double-quoted strings with backslash escapes) that reports the line and column of syntax errors and limits size, nesting depth and element count, then reads the documented netlist sections: design (title), components (ref, value, footprint, libsource), libparts (pin numbers, names, types) and nets (nodes with ref, pin, pinfunction, pintype). - Components from Ohmforge's own export (library "ohmforge") map back exactly: the part kind comes from the libsource, pins from Ohmforge's pin numbers, and parameters from the value text (each candidate setting is checked by regenerating the value text). Parameters that the value text does not contain return to their defaults. - KiCad standard symbols map by symbol name: R, R_Small, R_US → resistor; R_POT → potentiometer (pin 2 = wiper); C, C_Polarized/CP → capacitor; L → inductor; D, D_Zener, D_Schottky, LED → diodes; Q_NPN_*, Q_PNP_*, Q_NMOS_*, Q_PMOS_* → transistors (pins matched by their B/C/E and G/D/S names); Battery, Battery_Cell, Fuse, SW_Push, SW_SPST; NE555-family timers by pin names (TR, Q, R, CV aliases) or DIP-8 numbers. Two-pin parts whose reference starts with R, C or L are accepted as a last resort. Everything else (connectors, microcontrollers, regulators …) is left out and listed; its nets stay labelled on the imported parts. - A pin type ending in "+no_connect" (KiCad's no-connect flag) becomes a no-connect flag on that pin. For Ohmforge components a node pin type that differs from the catalog type becomes a per-pin type override in the project (field erc, version 1). KiCad 10's "NAME_NUMBER" pin functions are understood. - Placement: parts in a grid; each connected pin gets a short wire and a net label with the KiCad net name, the net GND becomes ground symbols, and single-pin "unconnected-…" nets stay open. Exporting the imported project again reproduces the same netlist text for Ohmforge exports (verified for all built-in templates). ## Limits - Simulation parts are idealised library models: check every mapped part's parameters (model, voltage, value) and pin order before trusting simulation results. Hierarchical sheets are flattened by KiCad's export; KiCad's power flags are not part of netlists, so add Ohmforge power flags or sources where the board is supplied.