Back Original

BetterSPICE is a free, open-source SPICE circuit simulator

BetterSPICE, a free SPICE circuit simulator, running a Cockcroft-Walton voltage multiplier live: wire colours follow the voltage, current dots move and the scope runs

One colour scale, 1 mV to 1 kV±60 V drive, 6 stages, charging past 240 V

BetterSPICE (Better SPICE) is a free, open-source SPICE circuit simulator for engineers who want to see a circuit work before they build it. Wires take the colour of their voltage as you edit, current moves through the parts, and a microcontroller runs your program against its real pin voltages. Press F5 and the same schematic gets a full transient, AC or DC analysis.

Free and open source, also at work. Windows, macOS, Linux and your browser. Version 1.0.0, source on GitHub.

Signals pass

5,767 of 5,767

455 test circuits, 4,647 signals against ngspice

Vendor models

160,807

from more than 70 manufacturers, in the desktop app

Examples

1,000

circuits that open and run

The appThe whole window

The whole app in one window, in your browser

Parts on the left, the circuit running in the middle, the part you click on the right, the scope underneath. Click the picture to see it full size.

BetterSPICE running an offline flyback power supply from 230 V AC to 12 V and 24 V with a microcontroller in the loop, the transformer selected in the inspector

  • 1Parts and 160,807 models
  • 2The circuit, running live
  • 3Inspector: the selected part
  • 4Scope
  • 5Every part measured

A 230 V AC to 12 V and 24 V supply, all discrete, with a microcontroller closing the loop through an optocoupler. The transformer is selected: primary, bias winding and a tapped secondary.

Free, nothing to install. Open it in your browser, or install the desktop app for the full vendor library.

Open the app

01Live view

Live simulation: it runs while you draw

The circuit runs as soon as it has a source and a ground. Every part's volts, amps and watts update while you edit.

Change a value while it runs and the waveforms follow. A capacitor keeps its voltage and an inductor its current through the edit, so nothing restarts. Keys 1 to 4 set the speed, and a 50 Hz rectifier and a 1 MHz converter both run at a pace you can follow.

The wires use one colour scale from 1 mV to 1 kV, so the same voltage always has the same colour. Current dots grow into dashes as the current rises.

−1 kV−1 V0 V1 V48 V1 kV

Point at the bar for the voltage of a colour. A wire you point at in the circuit is marked on it.

A Wien-bridge oscillator running live, with the output and the op-amp input on the scope

The same look in the app: the Wien-bridge oscillator example, output in yellow, the op-amp's + input in green.

Live view, RC low-pass

+6 V−6 V, 4 ms across

V(IN) 0 V V(OUT) 0 V t = 0.00 ms

1 kΩ

Point at a wire or a part, or tap it, for its live voltage and current. The values are worked out exactly in your browser and match bspice tran on the same circuit. One cycle of the 1 kHz source takes 2 seconds here.

Big boards

A circuit of 100 parts or more runs its live view on the native engine. On a 578-part board that is about 1.4 times as fast as WebAssembly, with the same frames bit for bit.

The spread of your parts

View > Tolerance band shades the range each scope trace takes with the parts at the ends of their tolerance, while the circuit runs.

When it can't keep up

When a circuit is too heavy for the timebase you set, the toolbar shows how fast it really runs. Balanced and Fast keep the timebase at reduced accuracy, and a banner says what changed.

03Analyses

Transient, AC, DC and noise analysis with F5

Simulate runs the accurate analysis on the schematic in front of you. Leave the maximum step on Auto and it picks one from the circuit's sources, edges and time constants, and tells you why.

The Analysis view with a 20 ms transient of the Sallen-Key high-pass example: V in and V out on one chart

Transient of the Sallen-Key high-pass example over 20 ms, V in and V out on one chart, the parts' volts, amps and watts beside it.

Tolerance runs vary each part inside its tolerance (by default resistors 1 %, capacitors 10 %, inductors 20 %) and report the yield against the limits you type, with each part's share of the spread. Named measurements such as rise time, overshoot, settling, ripple and phase margin take limits and report PASS or FAIL after every run.

09Import and share

Import KiCad, EasyEDA, LTspice, Altium, Multisim and SPICE netlists

KiCad 6 to 10, EasyEDA Pro, LTspice .asc, Altium (.SchDoc, multi-sheet .PrjPcb), Multisim (.ms11 to .ms14) and SPICE netlists come in through File > Import, or by dropping the file on the window, as a drawn schematic with wires and an Import report that lists every part as matched, approximated or not imported.

An LTspice schematic brings its parts, wiring, symbols and the SPICE models it names. On LTspice's 61 example schematics the imported connections match LTspice's own netlists, on 13 open-hardware Altium projects 2,528 pins match the boards' own nets, and on 237 real Multisim files 95.9 % of the parts are matched.

File > Share link puts the circuit into a web address. Whoever opens it sees the circuit running in a browser viewer with the scope and sliders, and nothing is uploaded. Export interactive HTML writes the viewer, the engine and the circuit into one file of about 6 MB. Or open the whole app in your browser at app.bspicesim.com.

File > Generate report writes one HTML page with the schematic, the parts against their ratings, every analysis you ran and the diagnostics.

LTspice's astable multivibrator imported: its symbols and wiring, two 2N3904 transistors, and a transient where the oscillation starts

LTspice's astable multivibrator, imported and simulated with its two 2N3904s.

1,000

example circuits. Press E.

40

categories, from a voltage divider to PLLs, motor drives and gate-level logic.

50

circuits that are usually built wrong, with the right way and the common mistake side by side.

8

regulators built on real vendor chips.

02Accuracy

Accuracy: checked against ngspice, signal by signal

bspice verify runs each test circuit through the BetterSPICE engine and through ngspice and compares them point by point. When the two disagree, the job is to find out which one is right.

The live view matches Simulate, and Simulate matches ngspice

BetterSPICE has two engines on one core: the live view, which runs while you draw, and Simulate, the full transient, AC, DC and operating-point analysis. Both solve the circuit with modified nodal analysis and Newton iteration, using ngspice's device equations. At the same time step they give the same numbers: 992 of the 1,000 example circuits are identical to the last digit at Simulate's step. The other 8 are named in the test: 7 use the Gear method, which the live view runs as trapezoidal, and one result is too big to compare.

Every release is checked against ngspice on 455 test circuits. Operating points agree to better than 1 part in 100 billion on 95 % of values, AC responses within 6.3 µdB on 95 % of signals, and transients have a median difference of 20 parts per trillion of the signal's range. 4,647 of 4,647 signals pass.

A pass that needed more than the plain comparison is marked in the report. That includes the signals where ngspice was the one that was wrong, proved against an independent reference.

Parts that ngspice has no model for, such as the microcontroller, are checked against a closed form or a datasheet window and counted apart. They never count as an ngspice pass.

Vendor models get the same check across systems. A TI TLV9062 follower with 1 V in reads 1.00011272134857 V on Windows, Ubuntu and Arch.

Run the suite yourself

$ bspice verify verification/circuits
$ bspice verify examples --all

Set the step, read the error

The live engine at 1 to 20 times Simulate's maximum step, on six example circuits, against a run at a quarter of the step. Where the cap sets the step, the error grows with the step squared. Where the circuit's own step control keeps the step smaller, the curve flattens.

Inverting amplifier, V(VOUT), at 10 times Simulate's step (10 µs): 244 ppm of the signal's range.

Live engine, measured on 29 November 2026 (1.0.0). Largest pointwise difference over the run as a fraction of the signal's range. For the Wien bridge, the error of the period. Point at the chart, drag the slider or use the arrow keys.

04Vendor models

Vendor models and part types

The Assign model dialog listing N-channel MOSFET models with their key figures

Assign model, with the key figures of the selected MOSFET beside the list.

Search the catalog from the library panel and assign a model with its parameters in view.

The catalog covers Texas Instruments, Analog Devices, Infineon, Vishay, Murata, Würth Elektronik, Rohm, NXP and more than 60 other makers. The models run in ngspice 47, and LTspice, PSpice and HSPICE dialects are converted on the way in.

Gain-bandwidth, slew rate, dropout and Rds(on) show in the inspector. Each figure says where it came from: measured on the model, fitted, read from the model card or taken from the datasheet.

For a part that isn't in the catalog, the Part Wizard covers 132 part types with 1,310 fields. Its Curves step takes a datasheet graph as a pasted table or a digitized image and fits the model to the points.

  • Full package: 207,849 files, about 3 GB
  • Library can be added later

05Part types

446 part types, drawn as they are in the app

Every symbol here is the one BetterSPICE puts on the schematic, grouped the way the parts library groups them. Orange marks the pins. Where a part type has vendor models in the catalog, the tile gives the count.

Passives36 part types

  • Resistor
  • Resistor array, 4 isolated
  • Resistor array, 2 isolated
  • Resistor array, 8 isolated
  • Resistor network, 4 bussed
  • Resistor network, 8 bussed
  • PotentiometerLog (audio, A), Slide
  • Trimmer potentiometer
  • Rheostat
  • Dual potentiometer
  • CapacitorCeramic (MLCC), Film, Safety X, Safety Y
  • Electrolytic capacitorTantalum, Polymer
  • Supercapacitor
  • Trimmer capacitor
  • Feed-through capacitor
  • InductorRF
  • Power inductor
  • Adjustable inductor
  • Ferrite bead
  • Common-mode choke
  • Wire (length, gauge)
  • Transformer
  • Transformer, centre-tapped secondary
  • Transformer, centre-tapped primary
  • Transformer, two secondaries
  • Flyback transformer, 3 winding
  • Current transformer
  • Transformer, windings and taps
  • Flyback transformer
  • Forward transformer, reset winding
  • Push-pull transformer, centre-tapped
  • Half-bridge transformer
  • Full-bridge transformer
  • Centre-tapped output
  • Multi-output transformer
  • Tapped inductor

Sources29 part types

  • DC voltage
  • Sine voltage
  • Pulse / PWM voltage
  • Piecewise linear voltage
  • Square wave voltage
  • Function generator, square
  • Function generator, sine
  • Function generator, triangle
  • Function generator, sawtooth
  • Current generator, square
  • Current generator, sine
  • Current generator, triangle
  • Current generator, sawtooth
  • DC current
  • Sine current
  • VCVS (E)
  • VCCS (G)
  • CCVS (H)
  • CCCS (F)
  • BatteryLi-ion 3.7 V, LiFePO4 3.2 V, NiMH 1.2 V, Alkaline 1.5 V, Coin CR2032 3 V, Lead-acid 2 V/cell
  • Solar cell
  • Power flag
  • Rail +5 V
  • Rail +3.3 V
  • Rail +12 V
  • Rail -12 V
  • Rail -5 V
  • Ground
  • Isolated ground

Diodes and thyristors15 part types · 22,394 vendor models

Transistors17 part types · 38,019 vendor models

Analog ICs17 part types · 7,097 vendor models

Power management47 part types · 1,992 vendor models

  • LDO, fast block
  • Buck, fast block
  • Boost, fast block
  • Buck-boost, fast block
  • Charge pump, fast block
  • Isolated DC/DC, fast block
  • Reference, fast block
  • LDO, fixed 3 pin1,992 vendor models (LDO and DC/DC)
  • LDO, adjustable 3 pin
  • LDO with enable
  • LDO with enable and power-good
  • Negative regulator (79xx)
  • AMS1117 (SOT-223)
  • LDO, adjustable 5 pin
  • Buck converter, asyncAveraged (fast) model
  • Buck converter, synchronous
  • Boost converter (MT3608)
  • Boost converter, synchronous
  • PWM controller, voltage mode
  • PWM controller, current mode
  • Hysteretic controller
  • Constant on-time controller
  • Off-line buck
  • Off-line flyback
  • Quasi-resonant controller
  • LLC controller
  • PFC controller
  • Gate driver, low side
  • Gate driver, bootstrap
  • Half-bridge driver
  • Gate driver, isolated
  • LED driverBuck, boost
  • TP4056 charger
  • MCP73831 charger
  • Charge controllerCC/CV, float
  • Battery protection IC
  • Load switch
  • eFuse
  • Ideal diode
  • High-side switch
  • SupervisorReset, undervoltage, window
  • UVLO block
  • Soft-start
  • Current limit
  • DC/DC module
  • Isolated DC/DC module
  • AC/DC module

Electromechanical36 part types

  • Relay, SPDT
  • Relay, SPST-NO
  • Latching relay, single coil
  • Relay, SPST-NC
  • Relay, DPST-NO
  • Relay, DPDT
  • Relay, 4PDT
  • Latching relay, single coil DPDT
  • Latching relay, dual coil
  • Latching relay, dual coil DPDT
  • Reed relay
  • Solid-state relay, DC
  • Solid-state relay, AC
  • PhotoMOS relay
  • Switch
  • Switch, SPDTToggle, slide
  • Push button, NO
  • Switch, SPST
  • Switch, DPST
  • Switch, DPDT
  • Push button, NC
  • Tactile switch, 4 pin
  • DIP switch, 1 way
  • DIP switch, 2 ways
  • DIP switch, 3 ways
  • DIP switch, 4 ways
  • DIP switch, 5 ways
  • DIP switch, 6 ways
  • DIP switch, 8 ways
  • DIP switch, 10 ways
  • Rotary switch
  • Micro / limit switch
  • Reed switch
  • Rotary encoder
  • Rotary encoder with push switch
  • Voltage-controlled switch

Optoelectronics22 part types · 1,383 vendor models

  • LED1,383 vendor models
  • Laser diode
  • RGB LED, common cathode
  • RGB LED, common anode
  • WS2812B addressable LEDSK6812 RGBW
  • LED bar graph, 10
  • LED bar graph, 8
  • LED bar graph, 4
  • Incandescent lamp
  • Neon lamp
  • Optocoupler, transistor out
  • Optocoupler, transistor with base
  • Optocoupler, Darlington out
  • Optocoupler, triac out
  • Optocoupler, zero-cross triac
  • Optocoupler, logic out (6N137)
  • PhotodiodePIN, IR, UV
  • Phototransistor, 2 pin
  • Phototransistor with base
  • Photo-interrupter
  • Reflective sensor
  • IR receiver module

Logic and digital58 part types · 3,173 vendor models

Timing14 part types · 53 vendor models

Mixed-signal10 part types

Microcontrollers and programmable8 part types

Connectors and mechanical24 part types

  • Header, 1 row
  • Header, 2 rows
  • USB-C
  • Micro-USB
  • USB-A
  • DC barrel jack
  • Audio jack, TRS
  • Audio jack with switches
  • SMA / U.FL connector
  • RJ45 jack
  • microSD socket
  • Battery holder
  • Banana / test jack
  • Solder jumper, open
  • Solder jumper, closed
  • Solder jumper, 3 pad
  • 0 Ω link
  • Net tie, 2 pads
  • Net tie, 3 pads
  • Test point, pad
  • Test point, loop
  • Mounting hole, plated
  • Mounting hole, non-plated
  • FiducialGlobal, local

Transmission lines12 part types

Motors and actuators14 part types

  • DC motorBrushed, fan, vibration, gear
  • Stepper, bipolar (4 wire)
  • Stepper, unipolar (6 wire)
  • Stepper, unipolar (5 wire)
  • RC servoAnalog, digital, continuous rotation
  • BLDC motor, sensorless
  • BLDC motor with Hall sensors
  • SolenoidPull, push, valve, lock
  • H-bridgePWM + DIR, IN1 / IN2
  • Dual H-bridge, IN / IN
  • Dual H-bridge (TB6612)
  • A4988 stepper driver
  • DRV8825 stepper driver
  • Peltier (TEC)

Counts are vendor models per catalog kind. A kind that feeds several groups is counted once, on its main part: diode models cover rectifier and signal diodes, zener models include TVS and ESD diodes, regulator models cover LDOs and DC/DC converters. Another 95,440 vendor subcircuits (capacitors, inductors, ferrite beads, transformers, thermistors, crystals and ICs the indexer could not place) are filed by part number in the library and are not counted on a tile.

MoreAlso in the app

Microcontrollers, calculators and AI agents

Your program runs inside the circuit

A microcontroller runs your code against its real pin voltages: GPIO, ADC, PWM, timers, UART, I2C, SPI and CAN, with a debugger that steps through it.

See the microcontroller

17 design calculators

Work out a divider, filter, buck or trace width, then place the circuit and run the analysis that checks it. The same calculators run on the website.

Open the calculators

An AI agent on the same schematic

Claude Code and other agents build and simulate circuits through the command line and MCP, and you watch every change as it happens.

How agents use it

11Download

Download BetterSPICE 1.0.0

Every file below comes from the 1.0.0 release on GitHub, beside the source code.

Full includes the vendor model library. App only is the program, and the library can be added later. The Windows, Debian and Arch installers and the Full AppImage are 0.5.0: Help > Check for updates brings a new install to 1.0.0 in one step. macOS and the AppImage are 1.0.0, NixOS 0.9.0 until its 1.0.0 follows.

Install once, then it updates itself. When a new version is out, an Update pill appears in the app's menu bar, and Help > Check for updates asks at once. An update downloads only the files that changed and takes effect when BetterSPICE restarts. Your circuits, settings and model library stay as they are. On NixOS, update from the new flake.

Runs in the browser

  • The editor, live view, scope, logic analyzer and inspector
  • Simulate on the built-in engine: transient, AC, DC, noise, pole-zero, loop gain, FFT
  • Tolerance and Monte Carlo
  • Microcontrollers and the MCU debugger
  • Nearly all of the 1,000 examples, the 17 calculators and the Part Wizard
  • Import KiCad, EasyEDA Pro, LTspice, Altium and Multisim schematics and SPICE netlists
  • Autosave, open a file, save as a download, share a circuit as a link

Desktop app only

  • The full vendor library (160,807 models) and ngspice: the browser app has about 600 open-licensed models
  • Save in place to your own folders
  • The full HTML report
  • AI agents and the MCP server
  • Full speed on large boards: up to about 1.4x faster than the browser

In your browser No install

Chrome, Edge, Firefox or Safari, any system

The full app, nothing to installAbout 600 open-licensed models. The full vendor library needs the desktop app

Open

Windows Your system

Windows 10 and 11, x64

FullSetup 0.5.0 with the library, 1,054 MB

Download

macOS Your system

macOS 11 or later, Apple Silicon. Version 1.0.0

FullInstaller 1.0.0 with the library, 861 MB

Download

Ubuntu and Debian Your system

Ubuntu 24.04 and other Debian-based systems

Full.deb 0.5.0 with the library, 839 MB

Download

Arch Linux

Arch and derivatives, pacman -U

App onlybetterspice 0.5.0, 69 MB

Download

Librarybetterspice-models 0.5.0, 609 MB

Download

NixOS and Nix

Version 0.9.0, no in-app update. NixOS notes

FlakeBuilds on your machine, 69 MB

Download

Any Linux

AppImage, x86-64

FullAppImage 0.5.0 with the library, 467 MB

Download

Already installed? Help > Check for updates brings any copy from 0.2.0 on to 1.0.0. The same update files are on the release page: Windows patch (92 MB), Mac app (91 MB), Debian patch (97 MB) and Arch patch (94 MB). Checksums: 1.0.0 SHA256SUMS.txt for the 1.0.0 files, 0.5.0 SHA256SUMS.txt for the 0.5.0 installers and SHA256SUMS-NixOS.txt for NixOS.

Updates

On Windows, Debian and Arch an update is a signed patch of only the files that changed, about 90 MB. If anything fails the old files go back, and your circuits, settings and model library are left alone.

Not code-signed yet

Windows SmartScreen asks once. On a Mac, allow the first start in System Settings > Privacy & Security > Open Anyway. Every file has a SHA-256 checksum beside it.

License

Use it for any purpose, also at work, and sell the products you design with it. Selling BetterSPICE itself is not allowed. Your circuits and results are yours.

Known limits

These are the gaps we know about in 1.0.0.

  • The Mac Full installer puts the whole library in place. No one has used it on their own Mac yet, and the in-app update hasn't been tried on a Mac.
  • PSpice-encrypted TI models need PSpice for TI, on Windows or under Wine on Linux. Without it they use fitted models, and BetterSPICE says so.
  • Linux packages are built and tested on Ubuntu 24.04 and current Arch on a virtual display. Other distributions, a real GPU and Wayland are not tested.
  • The live view and Simulate don't run compiled microcontroller firmware.

Who built it

Arwid Vasilev

Arwid Vasilev

Main designer

Full stack hardware engineer. Hardware development, testing, microcontroller firmware, software, board bring-up and assembly.

Connect on LinkedIn

12Questions

Questions people ask

Is BetterSPICE free?

Yes, and it is open source. You can use it for any purpose, also at work, and sell the products you design with it. Selling BetterSPICE itself is not allowed. The source code is on GitHub, and the 1.0.0 downloads are in Download.

Which systems does it run on?

Windows 10 and 11 on x64, macOS 11 or later on Apple Silicon, Ubuntu and Debian, Arch Linux, NixOS, and an AppImage for other Linux systems. The Linux packages are tested on Ubuntu 24.04 and current Arch.

Does it open LTspice files and vendor SPICE models?

KiCad 6 to 10, EasyEDA Pro, LTspice .asc, Altium and Multisim schematics and SPICE netlists come in through File > Import. An LTspice schematic brings its parts, wiring and the SPICE models it names, and on LTspice's 61 example schematics the imported connections match LTspice's own netlists. The catalog holds 160,807 vendor models from more than 70 manufacturers. They run in ngspice 47, and LTspice, PSpice and HSPICE dialects are converted on the way in. Compared with other simulators: Best SPICE simulators in 2026.

How accurate is it compared with ngspice?

In the 1.0.0 run of 28 November 2026, all 4,647 signals from 455 test circuits passed against ngspice, with both simulators at the suite's reltol of 1e-6. The median transient difference was 2 × 10⁻¹¹ of the signal's range. You can run the same check yourself with bspice verify.

Can an AI agent use it?

Yes. Claude Code connects through bspice mcp, and any other tool can use the WebSocket API. The agent edits the circuit you have open, and you see every change as it happens.

Is there a browser version?

Yes. The full app runs in your browser at app.bspicesim.com, free and with nothing to install: the editor, live view, Simulate on the built-in engine, microcontrollers, nearly all of the 1,000 examples and the 17 calculators. It has about 600 open-licensed models. The full vendor library (160,807 models) and ngspice need the desktop app.

What is the best SPICE simulator?

There is no single best one. LTspice is the mature free default, ngspice and KiCad suit netlist and PCB work, and BetterSPICE suits seeing the circuit answer while you edit. Best SPICE simulators in 2026 compares nine tools with sources, and says where BetterSPICE is weaker.

Is BetterSPICE an LTspice or PSpice alternative?

It can be. It imports LTspice schematics, converts PSpice-dialect models, and runs on Windows, macOS and Linux. BetterSPICE vs LTspice and the PSpice alternative page say where the other tool is the better choice.

Does it work as an ngspice GUI?

It is a schematic editor with its own live engine, and ngspice 47 runs the vendor models and is the reference the engine is checked against. The ngspice GUI page compares the front ends.