Skip to content

KLayout

Layout viewer and editor for chip and IC masks, with Ruby and Python scripting

Copyleft (OSI) · GPL-3.0
  • Linux

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

1,277

Last commit

2 days ago

Nov 2026

Repository age

9 years

since Feb 2017

Latest version

v0.30.14

Nov 2026

Contributors

–

7 active in 90 days

Releases

9

last 12 months

Language

C++

KLayout is a viewer and editor for integrated circuit layouts. It is a C++ application built on Qt, and it is used in chip design and EDA work, including files in the GDS2 format.

You can script it with Ruby, Python or both, depending on build options. The scripts can run and be developed inside the application. An optional Qt binding exposes Qt objects to scripts, so you can build custom interfaces and interact with the main GUI. That binding adds build and runtime overhead. An experimental build option extends coordinates to 64 bits, which allows a larger design space but doubles memory use for coordinate lists.

It builds on Linux with Qt 4.7 or later, Qt 5 or Qt 6. It also builds on Windows with MSYS2 or MSVC. A test runner is included. Source is GPL-3.0, and a Flathub package exists for Linux. It is an option if you need a free layout viewer and editor in place of commercial layout tools.

Who it's for

IC designers who need to view and edit GDS2 layouts

It is a dedicated layout viewer and editor.

Skip if: You need a full commercial signoff flow in one package.

EDA engineers who automate layout tasks

Ruby and Python scripting run inside the application.

Skip if: You want to avoid scripting and only need a basic viewer.

Students and hobbyists learning chip layout

It is GPL-3.0 and free to run and build.

Skip if: You want a prebuilt installer for your platform and do not want to compile.

The problem it solves

Layout tools for chip design are often costly commercial packages. KLayout lets you inspect and edit mask layouts and automate work with scripts without a license fee.

Strengths

  • Scripting in Ruby and Python inside the application
  • Optional Qt bindings for custom user interfaces
  • Builds with Qt 4, 5 or 6 on Linux and Windows
  • Included unit test runner
  • Actively released, eight releases in the last year

Trade-offs

  • Building from source is involved, with many options
  • 64-bit coordinate support is experimental and doubles coordinate memory
  • Qt bindings add build and runtime overhead
  • Packaging is limited to Flathub among known channels

Frequently asked questions

Is it free?

Yes. It is licensed under GPL-3.0.

Which scripting languages are supported?

Ruby and Python, depending on build options.

Which platforms can I build it on?

Linux, and Windows using MSYS2 or MSVC 2017.

Which Qt versions work?

Qt 4.7 or later, Qt 5 and Qt 6.

Similar tools in Electronics design and radio software

PSLab

Electronics design and radio software

Cross-platform app that turns a Pocket Science Lab device into a pocket oscilloscope and

2.1k 862 today Active Apache-2.0

SerialTest

Electronics design and radio software

Serial, Bluetooth, TCP and UDP debugging tool with a realtime plotter for embedded work

1.7k 277 2 years ago Dormant GPL-3.0

DIY Layout Creator

Electronics design and radio software

Offline Java app for laying out perfboard, stripboard, PCB and guitar wiring

1.6k 149 4 days ago Thriving GPL-3.0

Look4Sat: Satellite tracker

Electronics design and radio software

Offline satellite pass predictor for Android, aimed at ham radio operators

1.5k 170 43 days ago Thriving GPL-3.0

Horizon EDA

Electronics design and radio software

Desktop EDA suite for PCB design with schematic entry and parts management

1.3k 104 6 days ago Active GPL-3.0

OpenHantek6022

Electronics design and radio software

Oscilloscope software for Hantek 6022BE and BL USB scopes, mainly on Linux

1.2k 223 44 days ago Slowing GPL-3.0