Virtual electronics workbench

Ohmforge

Draw a circuit, switch it on, and measure it with real-feeling bench instruments.

Ohmforge is a free electronics lab in your browser: a schematic editor with 40+ parts, its own SPICE-style simulator (DC operating point, DC sweep, AC/Bode and transient analysis) and virtual instruments – multimeter, 4-channel oscilloscope, function generator, current-limited bench supply, Bode plotter and logic probe. Current flow is animated, voltages are colour-coded and overloaded parts burn out, so you see what a circuit does before you build it. Everything runs locally; projects stay on your device.

Launch Ohmforge → Tutorials

Free · runs in your browser · no sign-up · Version 1.0.0

Screenshots

Features

  • Schematic editor

    Grid snapping, orthogonal wires that re-route when you drag parts, junction dots, net labels, ground, rotate and mirror.

  • 40+ parts

    R, C, L, pots, switches, LEDs, diodes, zeners, Schottkys, BJTs, MOSFETs, op-amps, comparator, 555, logic gates, 7-segment, relay, transformer and more.

  • Own SPICE-style engine

    Modified Nodal Analysis with Newton–Raphson, junction limiting, damping, gmin and source stepping – no plug-ins, no server.

  • Transient analysis

    Trapezoidal or backward-Euler integration with adaptive time steps, breakpoints and event detection for 555 timers and relays.

  • AC sweep & Bode plotter

    Small-signal frequency response with magnitude, phase, −3 dB corners and unity-gain frequency.

  • 4-channel oscilloscope

    Timebase, V/div, offsets, edge trigger, cursors and automatic Vpp, RMS, mean and frequency readouts.

  • Multimeter

    Volts between any two nets, current through any part, and resistance with the power off – like a real DMM.

  • Generator & bench supply

    Sine/square/triangle/sawtooth generator with 50 Ω output and an adjustable supply that drops into constant-current mode.

  • Animated current flow

    Moving dots show where current goes and how much; wires glow with their voltage. Flip switches while it runs.

  • Stress warnings

    Resistors over their wattage, LEDs without a resistor (shown burnt), reversed electrolytics and blown fuses are flagged in plain words.

  • SPICE import/export

    Read and write netlists (R C L V I D Q M E G K, .model, .op .dc .ac .tran, SIN/PULSE/PWL).

  • Exports & print

    Schematic as SVG or PNG, bill of materials and measurements as CSV, print-ready sheet with BOM and results.

  • Templates

    Divider, RC filter with Bode plot, LED sizing, transistor switch, op-amps, 555 blinker, bridge rectifier, H-bridge, half-adder and more.

  • Local-first

    Autosaves to your browser, works offline once loaded, undo/redo for every edit, project files you own.

  • API & MCP tools

    The same engine answers DC, transient, AC and LED-resistor requests over JSON/MCP for scripts and AI agents.

Templates

Start from a ready-made project and change it to fit.

For AI agents

Ohmforge runs on a deterministic engine. The same functions are available as tools with a JSON API and MCP, so scripts and AI agents get exactly the results the app shows.

  • Ohmforge DC Operating Point – SPICE netlist in, node voltages, branch currents, power and overload warnings out.
    Tool page · POST https://ohmforge.usefulweb.site/api/v1/tools/ohmforge-dc-operating-point/calculate · MCP ohmforge_dc_operating_point
  • Ohmforge Transient Simulation – Simulate a circuit over time: waveforms, Vpp/RMS/frequency, CSV and a chart.
    Tool page · POST https://ohmforge.usefulweb.site/api/v1/tools/ohmforge-transient/calculate · MCP ohmforge_transient
  • Ohmforge AC Sweep (Bode plot) – Frequency response of a circuit: Bode magnitude/phase, −3 dB corner and unity gain.
    Tool page · POST https://ohmforge.usefulweb.site/api/v1/tools/ohmforge-ac-sweep/calculate · MCP ohmforge_ac_sweep
  • Ohmforge LED Resistor Calculator – Series resistor for LEDs, rounded to a standard value and checked with a real diode model.
    Tool page · POST https://ohmforge.usefulweb.site/api/v1/tools/ohmforge-led-resistor/calculate · MCP ohmforge_led_resistor

Build a project through the API, then open it in the app with a link to https://ohmforge.usefulweb.site/app#project=<base64url JSON>.

Import & export

Import

  • Ohmforge project (.ohmforge.json)
  • SPICE netlist (.cir, .sp, .net, .txt)

Export

  • Ohmforge project (.ohmforge.json)
  • SPICE netlist (.cir)
  • Schematic SVG
  • Schematic PNG
  • Bill of materials (CSV)
  • Measurements / waveforms (CSV)
  • Print sheet (PDF via the browser)

Keyboard shortcuts

Keyboard shortcuts in Ohmforge
KeysAction
V / EscSelect tool / cancel
WDraw wire
GPlace ground
LPlace net label
TText note
PProbe a net (adds it to the oscilloscope)
R / XRotate / mirror selection or the part being placed
SpaceFlip wire elbow while drawing; hold to pan
DelDelete selection
Ctrl + C / Ctrl + V / Ctrl + DCopy / paste / duplicate
Ctrl + Z / Ctrl + YUndo / redo
F5Run the selected analysis
F6Power on/off (live simulation)
F / + / −Zoom to fit / zoom in / zoom out
Ctrl + S / Ctrl + OSave / open project file
?Shortcut sheet

Frequently asked questions

Is Ohmforge really a SPICE simulator?

It is a SPICE-style simulator written from scratch: Modified Nodal Analysis, Newton–Raphson with the same junction limiting idea as SPICE3, gmin and source stepping, trapezoidal/backward-Euler integration. It reads and writes a SPICE netlist subset, but it is not a port of Berkeley SPICE and its device models are simpler.

How accurate are the results?

Linear circuits (dividers, RC/RL filters, op-amp gain) match the textbook formulas to many digits. Diodes, transistors and MOSFETs use simplified models (Shockley, Ebers–Moll with Early effect, level-1 MOSFET) with typical parameters, so expect realistic behaviour within roughly 5–20 % of a real part.

Do my circuits leave my computer?

No. The workspace simulates in your browser and autosaves to your browser storage (IndexedDB). Nothing is uploaded unless you call the public API yourself.

Why does my circuit say "no DC path to ground"?

Every node needs a resistive path to ground for the DC solution. Nodes connected only through capacitors, current sources or op-amp inputs have no defined DC voltage; add a ground symbol or a large resistor (e.g. 1 MΩ) to ground.

Can I open the simulation from the API in the app?

Yes. The DC operating point tool returns an Ohmforge project file for any netlist you send; open it via File → Open, or link to the app with #project=<base64url JSON>.

Can I simulate mains circuits?

You can simulate a transformer fed by a 230 V sine to learn how rectifiers work, but Ohmforge is not a safety tool. Never build mains circuits without proper training, isolation and protection.

Limitations

What Ohmforge does not do (yet):

  • Device models are simplified: no temperature effects, no charge storage beyond constant junction capacitances, no breakdown in transistors.
  • Op-amps have one dominant pole and symmetric slew-free outputs; the 555 and logic gates are behavioural models.
  • No subcircuits (.subckt), no .param/.step/.meas, no noise or distortion analysis.
  • Dense matrix solver: comfortable up to a few hundred nodes, not for very large netlists.
  • Live mode runs as fast as your device allows; fast circuits (MHz) are slowed down automatically.
  • Phones get a read-only view; editing needs a tablet or larger screen.

Tutorials

Learn Ohmforge step by step.

  1. Your first circuit in 5 minutesLight an LED through a series resistor, power the circuit on, read the current on the multimeter and see what happens when the resistor is too small.Beginner 5 min
  2. Oscilloscope & function generatorDrive an RC low-pass filter with a square wave and a sine, measure the time constant and the corner frequency on the 4-channel oscilloscope.Beginner 10 min
  3. Bode plots and filtersSweep a filter and an amplifier with the Bode plotter, read the −3 dB corner, phase and unity-gain frequency, and see how gain-bandwidth limits an op-amp.Intermediate 12 min
  4. Transistors, op-amps and the 555Switch an LED with an NPN transistor, build inverting and non-inverting amplifiers, and make a 555 blink. Each one is checked against the textbook formula.Intermediate 15 min
  5. SPICE netlists, export and convergence troubleshootingImport a SPICE netlist, export a schematic to ngspice or LTspice, and read Ohmforge's plain-language diagnostics when a circuit has no solution or will not converge.Advanced 15 min
  6. Automate with the API & MCPRun Ohmforge's simulator from scripts and AI agents. Real HTTP requests and responses for the operating point, transient, AC sweep and LED resistor tools, plus an MCP tools/call.Advanced 12 min

Ready to try it?

Launch Ohmforge →

Other premium apps