Back to Tools

JLCPCB BOM and CPL converter

Turn the BOM and pick and place file from KiCad, Altium, EasyEDA or Eagle into the BOM and CPL that JLCPCB assembly accepts. Groups parts, finds LCSC numbers, fixes units and rotations, and checks both files against each other. Your files stay in your browser.

No files at hand?

How the JLCPCB BOM and CPL converter works

Drop the BOM your schematic program wrote and the position file from the PCB editor, one at a time or both together. The converter reads CSV, TSV, semicolon files, .xlsx, KiCad's .pos, Altium's Pick Place .txt and Eagle's .mnt and .mnb, including UTF-16 files and exports with a few lines of project info above the header. It matches the columns by name for KiCad, Altium, EasyEDA, Eagle and Fusion Electronics, and shows you which column went where, so a wrong guess is one dropdown away from fixed.

The BOM comes out with one line per part (same value, footprint and LCSC number), with ranges like R1-R4 written out and do-not-populate parts left out. LCSC numbers are picked up from any column named like LCSC, JLCPCB Part or Supplier Part, or from a cell that holds nothing but a C number. The CPL gets Top and Bottom layers, millimetres and rotations between 0 and 360. Then both files are checked against each other, and you download them in the columns JLCPCB's upload reads.

What the BOM and CPL are

The BOM (bill of materials) says what to put on the board: which part, in which package, at which designators. The CPL (component placement list, also called the pick and place, centroid or XY file) says where: the centre of every part, its rotation and the side of the board. JLCPCB's SMT assembly needs both next to the Gerbers, and only places a part whose designator shows up in both files.

The columns JLCPCB asks for

From JLCPCB's help pages on the BOM and the CPL: both files can be .csv, .xls or .xlsx, the BOM needs Comment, Designator and Footprint, and the CPL needs Designator, Mid X, Mid Y, Layer and Rotation, with coordinates in millimetres. The converter writes these headers in the order of JLCPCB's sample files, with "mm" after every coordinate like the sample. The part number column is written as LCSC Part #, the name JLCPCB's Fabrication Toolkit plugin for KiCad writes; the current sample BOM calls the same column JLCPCB Part #.

FileColumnWhat goes in itExample
BOMCommentThe value or part name100nF, 10k, AMS1117-3.3
BOMDesignatorEvery reference using this part, comma separatedC1,C2,C5
BOMFootprintThe package0603, SOT-223
BOMLCSC Part #The part number in JLCPCB's library (optional, but it saves the matching). JLCPCB's sample file names this column "JLCPCB Part #(optional)"C14663
CPLDesignatorThe reference, matching the BOMC1
CPLMid X / Mid YCentre of the part, in millimetres95.0518mm
CPLLayerBoard sideTop, Bottom (or T, B)
CPLRotationDegrees, counter-clockwise positive0, 90, 270

Basic and extended parts

JLCPCB keeps its basic parts (common resistors, capacitors, diodes, some regulators) loaded on the pick and place machines. Everything else is an extended part, which an operator has to load onto a feeder for your job. On Economic PCBA that costs a feeder loading fee per extended part number, $3.07 on JLCPCB's assembly price page in November 2026, whether you place one or a hundred of them. Preferred extended parts (former basic parts) skip that fee on Economic PCBA. Standard PCBA charges feeder loading for basic and extended parts alike.

"Check basic or extended" above looks up each LCSC number in jlcsearch, a public copy of JLCPCB's parts list run by tscircuit, and tells you which kind it is. Swapping a 10k extended resistor for the basic one in the same package is the easiest money you'll save on a small board. JLCPCB's matching page has the final word on stock and price.

How to export the BOM and position file

  • KiCad 8 and 9: add a field named LCSC to your symbols with the C number. In the schematic editor, Tools, Generate Bill of Materials, Export tab, CSV preset. In the PCB editor, File, Fabrication Outputs, Component Placement (.pos, .gbr), with mm as the unit and one file for both sides. ASCII and CSV both work here. JLCPCB also points to the Fabrication Toolkit plugin, which writes both files directly.
  • KiCad 7: Tools, Generate Bill of Materials runs a script such as bom_csv_grouped_by_value, whose CSV starts with a few lines of project info. Drop it as it is.
  • EasyEDA: Fabrication, BOM and Fabrication, Pick and Place File (Export in EasyEDA Pro). EasyEDA Standard writes them as UTF-16, tab-separated files, and the LCSC number sits in the Supplier Part column.
  • Altium Designer: Reports, Bill of Materials for the BOM, and File, Assembly Outputs, Generates pick and place files for the positions. Choose CSV and metric units if you can; mil and the .txt format convert too.
  • Eagle and Fusion Electronics: JLCPCB's ULP writes both files ready to upload. The older mountsmd.ulp writes .mnt (top) and .mnb (bottom), which you can drop here together.

From the command line, KiCad 8 and 9 do it in two commands:

kicad-cli sch export bom --fields "Reference,Value,Footprint,LCSC,${QUANTITY},${DNP}" \
  --group-by "Value,Footprint,LCSC" -o board-bom.csv board.kicad_sch
kicad-cli pcb export pos --units mm --side both -o board.pos board.kicad_pcb

kicad-cli writes inches unless you pass --units mm, and its CSV position file doesn't say which unit it used. The converter warns you when a file doesn't say and shows how big the parts' spread is, so a board that comes out 25 times too small is easy to spot.

Rotations and JLCPCB's placement preview

After the upload, JLCPCB shows every part drawn on your board. The zero degrees of your footprint library and of JLCPCB's part library don't always agree, so some parts show up turned by 90 or 180 degrees, most often SOT-23s, diodes, LEDs and connectors. A part is right when its marking dot sits on the pin 1 mark of your silkscreen.

JLCPCB's assembly FAQ gives two ways out: change the rotation in your CPL and upload it again, or leave it, because their engineers review and fix rotation and polarity against the silkscreen before assembly (and email you when the silkscreen doesn't make it clear). The rotation fixes table does the first one for a whole footprint at once: add SOT-23* with 180 and every SOT-23 turns. There's no built-in list of corrections, since they depend on your footprint library.

Why JLCPCB rejects BOM and CPL files

  • Column names it doesn't know (Ref, PosX, Rot, Side straight out of KiCad), which is the main job of this converter.
  • Designators that don't match between the two files. JLCPCB lists them as missing from the CPL and only places what's in both.
  • A designator listed twice ("Repeated Designator"), or two parts less than 0.2 mm apart, per JLCPCB's matching issues page.
  • More than 200 designators on one BOM line, coordinates in mixed units, or top and bottom parts in separate CPL files, from JLCPCB's file preparation advice. The converter splits long lines and merges separate top and bottom files.
  • Special characters in the file name, which JLCPCB reports as a wrong file format. The downloads are plain CSV named after your board.

Frequently asked questions

Are my files uploaded anywhere?
No. Both files are read and converted in your browser. The only request that leaves the page is the optional basic or extended check, which sends the LCSC numbers and nothing else.
What if a part has no LCSC number?
It stays in the BOM, marked here, and JLCPCB's matching page asks you to pick a part for it. If you'd rather solder it yourself, choose "do not place" there. Through-hole connectors and buttons are the usual ones.
Which parts count as do not populate?
Rows with a DNP column set (KiCad's DNP, Altium's Fitted set to Not Fitted, any column named DNP or Do Not Populate), and rows whose value is DNP, DNF or "do not populate". They are left out of both files and listed, so you can see what went.
Why do my KiCad Y coordinates come out negative?
KiCad's position file counts Y upwards from the page origin, so parts on a board drawn in the usual spot get negative Y values. That's normal and JLCPCB takes it. The converter doesn't move or flip anything. If JLCPCB's preview shows every part shifted off the board, set the drill/place file origin in KiCad and tick "Use drill/place file origin" when you export.
Does this work for PCBWay or other assemblers?
The files follow JLCPCB's format. PCBWay and most other assembly houses accept similar columns (designator, X, Y, side, rotation), so the CPL usually works there too, but check their template.
Can it pick LCSC parts for me?
No, it converts and checks. The GrandpaCAD chat goes the other way: describe a board and it picks real JLCPCB parts (basic ones where it can), designs and routes the PCB and hands you the Gerbers with a BOM and CPL already in this format.

Related tools and guides

Describe a circuit. Get a board you can order.

GrandpaCAD's chat picks real parts, draws the schematic, routes the PCB and checks it against JLCPCB's rules. You get Gerbers, BOM, pick-and-place, a KiCad project and a 3D board, plus a printed case if you want one.

"ESP32-C3 board with USB-C that uses only JLCPCB basic parts"

3 free generations, no card required