v1.4.0

An EasyEDA link.
A KiCad library.

Paste a public component link. Get a symbol and footprint, converted on your own computer.

No account. No search. No cloud conversion.

euc2k.py — example run

Example: run followed by a public EasyEDA component link.

The example fetches the component, converts the symbol and footprint, preserves credits, and prints two library paths to add in KiCad. Actual file names depend on the component.

884 + 37core tests + native KiCad checks
KiCad 8–10checked versions
2 platformsCI on Windows & Linux
MITlicensed

For the part with a link.
And no LCSC number.

Some of the most useful EasyEDA components are contributed by users. When there’s no LCSC part number, euc2k starts with what you have: the component link.

  1. 01

    Paste a link

    A public EasyEDA Standard component URL or its 32-character UUID. No export needed.

  2. 02

    Fetch politely

    One public JSON request at a time. A 4 s cooldown + 0–2 s jitter. Stops after two consecutive 403/429 responses.

  3. 03

    Convert locally

    Pins, pads, arcs, polygons, slots, multi-unit symbols and layers. Add --validate to check temporary copies with KiCad’s CLI.

  4. 04

    Add to KiCad

    Get the two library paths, plus a CREDITS.txt preserving authors and license text. Your files stay local.

Three commands.
Then back to your board.

You’ll need Python 3.11+ and Git. The first run creates a local virtual environment automatically.

CMD
Clone & convert
git clone https://github.com/wysemon/euc2k.py
cd euc2k.py
run https://easyeda.com/component/7db93ef938c54a728e02f6579db05977
Clone & convert
git clone https://github.com/wysemon/euc2k.py
cd euc2k.py
./run.sh https://easyeda.com/component/7db93ef938c54a728e02f6579db05977

Prefer an installed command? In a virtual environment, run python -m pip install "euc2k==1.4.0", then euc2k <link>. See euc2k 1.4.0 on PyPI and the GitHub release. For an isolated global install, use pipx install euc2k==1.4.0 or uv tool install euc2k==1.4.0.

Replace the example link with yours. After installation, you can also use euc2k <link> in the installed environment. On Windows, enable “Add Python to PATH” when installing Python.

Optional validation: append --validate, for example run <link> --validate on Windows or ./run.sh <link> --validate on Linux/macOS. Requires KiCad 8/9/10 with kicad-cli on PATH. Checks run on temporary copies; failure keeps existing libraries.

In KiCad: Preferences → Manage Symbol Libraries → add the printed .kicad_sym path. Then Manage Footprint Libraries → add the .pretty folder.

Read the full README

From EasyEDA to KiCad.

ATMEGA16U2: the source drawing and the converted libraries, shown in their editors.

View the source component
ATMEGA16U2 symbol and footprint in the EasyEDA editor before conversion.
EasyEDA source — symbol and footprint.
Converted ATMEGA16U2 symbol displayed in KiCad’s Symbol Editor.
Converted symbol in KiCad.
Converted ATMEGA16U2 footprint displayed in KiCad’s Footprint Editor.
Converted footprint in KiCad.

Screenshots supplied by the maintainer. Open an image to see the original at full size. Source component rights remain with its author.

Different starting points.
Room for all three.

euc2k fills a small gap. An LCSC part number or an exported project may call for a different tool.

euc2k.py, uPesy easyeda2kicad.py and KiCad 10 built-in EasyEDA import compared
Your starting pointeuc2k.pyThe component-link routeeasyeda2kicad.py by uPesyKiCad built-in EasyEDA / JLCEDA import · v10
Identify a componentPublic Standard link or UUIDLCSC part number
e.g. C2040
Exported file, library or project
Symbol & footprint✓ KiCad 8 / 9 / 10✓ KiCad 6+✓ Import or migrate exported data
3D models2D only, by design✓ WRL + STEP models3D references supported¹
Model retrieval unverified
Export a file first?NoNoYes
KiCad required to convert?No · optional CLI checkNo · standalone Python toolYes · editor or KiCad CLI
Command-line use✓ Standalone✓ Standalone✓ kicad-cli library upgrade²
Software licenseMITAGPL-3.0GPL-3.0-or-later³
Best atUser-contributed parts that only have a linkA mature LCSC workflow, with 3D modelsMoving exported designs; no extra tool to install

Swipe the table to compare all three tools →

Checked against official sources on . euc2k facts are supplied by its maintainer. Other tools were reviewed in documentation, not run here.

Sources & comparison notes +

uPesy: official README and license. The documented CLI uses LCSC IDs; direct component-link input is unverified.

KiCad 10: Schematic Editor, PCB Editor, and CLI reference. ¹ Developer docs describe 3D model references; automatic model-file retrieval across Standard/Pro is unverified. ² KiCad 10 documents sym upgrade and fp upgrade for exported EasyEDA libraries, without a running GUI. ³ Most KiCad source is GPL-3.0-or-later; some files have other licenses.

Software licenses do not replace the individual component authors’ licenses.

Have a public component link?

Start with euc2k.

Have an LCSC part number?

Try uPesy’s easyeda2kicad.

Have an exported design?

Use KiCad’s native importer.

Built with AI.
Finished by a human.

Most of the code was written by AI assistants: Codex for code, Claude for planning, prompts and code review.

The human work was substantial: choosing what to build, capturing real EasyEDA data, and testing about 15 real components in KiCad. AI wrote code. A person checked what it actually did.

  1. 01IdeaA missing link
  2. 02PromptDefine the job
  3. 03First versionAI-written code
  4. 04Real-part testingHuman, in KiCad
  5. 05FixesReport, repair, repeat
  6. 06Releasev1.4.0
WHAT HUMAN ATTENTION LOOKED LIKE

↳Catching a multi-unit symbol that exported only its first unit.

↳Reporting pads with unexpected plating flags.

↳Comparing screenshots with originals, then polishing the README and naming.

A small tool.
A clear scope.

Safe file writes and clear errors help. You should still review every converted component before using it on a board.

Unofficial, and dependent on EasyEDA.

Not affiliated with EasyEDA, JLC or LCSC. The unofficial public endpoint can change or stop working.

2D components only.

Symbols and footprints for KiCad 8/9/10. No 3D models, search or bulk download, on purpose.

Credits travel with the files.

Contributed components keep their authors’ rights. Check each license before redistributing; the tool’s MIT license does not relicense a part.

Good questions.

Do I need an EasyEDA account?+

No. euc2k fetches a public EasyEDA Standard component by its link or UUID. Private components are outside its scope.

Does “local” mean offline?+

No. A connection to easyeda.com is needed to fetch the public JSON. Conversion and file writes happen on your computer; there is no cloud conversion service.

Does it support EasyEDA Pro or 3D models?+

No. It is for public EasyEDA Standard components and 2D KiCad symbols and footprints. For LCSC parts with 3D models, look at uPesy’s easyeda2kicad.py. For exported projects, try KiCad’s importer.

Does KiCad need to be running?+

No. euc2k is a standalone command-line tool. KiCad validation is opt-in: pass --validate and make sure kicad-cli is on PATH. Installing KiCad alone does not enable validation. With that flag, a missing CLI or failed check returns an error and keeps previous output files. Open KiCad afterward and add the two printed library paths.

What happens if EasyEDA blocks a request?+

Requests run one at a time with a default 4-second cooldown plus 0–2 seconds of jitter. After two consecutive 403 or 429 responses, euc2k stops instead of continuing to request parts.

Can I redistribute the converted components?+

Check the source component’s license first. The generated CREDITS.txt preserves author and license information. euc2k’s MIT license covers the tool, not other people’s component rights.

A link is enough to begin.

Your next component, in your own library.

Get started