Open-source, browser-based intelligent P&ID editor. Drag ISA-5.1-style symbols onto a sheet, connect process and signal lines with proper orthogonal routing, tag instruments with validated ISA tags — and generate real engineering deliverables.
Local-first: no backend, no account, no upload. Drawings live on your machine.
▶ Try it now: pid-studio-praharsh.web.app — pick Templates → Sample plant for a demo. 🌐 Project site: coldbari.github.io/IPD-Studio
A real drawing session, sped up: place instruments → draw the loops → color the services → open it in HMI Studio.
▶ Watch the full 2½-minute video
The editor: ISA-5.1 palette with instrument presets and typical loops, multi-sheet drawings, live validation & advisor.
Left: fluid services color whole line runs (water/steam/slurry). Right: the same plant in HMI Studio — tanks, valves, pumps, and displays ready to simulate.
Every browser diagramming tool treats a P&ID as clipart. Every intelligent P&ID tool is a $2,600+/year desktop install. IPD Studio is the missing thing: data behind the drawing, in the browser, free (AGPL).
- Tags are parsed and validated against ISA-5.1 letter tables — type
FICand the editor knows it's a Flow Indicating Controller - Loop numbers auto-assign; duplicates are flagged live
- Control loops derive automatically from the tags
- The instrument index and line list are generated from the model, not typed
- The document is versioned open JSON, designed to map onto DEXPI
- HMI Studio — build operator screens from your P&ID (or import them in one click) and run them as a live training simulation: DCS-style faceplates, PI control loops auto-wired from your ISA tags, ISA-18.2 alarms (priorities, deadband, shelve/out-of-service), multi-pen trends with a real time axis, motor-driven equipment (pumps, compressors, conveyors) you can start, stop, and trip, flow-network simulation with fan-out, training upsets (trip a pump, stick a valve, plug a line), classic and ISA-101 high-performance themes (docs)
- Budget & cost estimator — set a project budget and watch the estimate grow live as you draw: every component carries a budgetary market price (editable per project or per component), grouped cost breakdown with installed-cost factors (Lang-style), over-budget warning in the status bar, and a cost estimate CSV export
- Fluid services — define media once (Water blue, Steam red, Slurry brown…), assign one to a line and the color spreads along the whole connected run; imported HMI pipes inherit it
- Full instrumentation palette — a 60-entry ISA-5.1 preset catalog
(every element/transmitter/indicator/controller/converter/switch for
flow, pressure, level, temperature, analysis + more), searchable by
shortcut (
FT) or full name ("flow transmitter"), placed pre-tagged with per-type auto-numbering - 195+ parametric symbols — instrument bubbles (all 16 ISA display/location variants from one parameterized symbol), control valves with 7 actuator types and fail-action marks, 14 manual valve types, safety/relief devices, 14 flow elements, level/temperature/pressure accessories, pumps, compressors, turbines, spheres, silos, columns, reactors, separators, heat exchangers, fired heaters, cooling towers, ISA-5.2 logic gates (AND/OR/NOT), DCS/PLC/SIS system boxes, fittings, solids handling (conveyors, crushers, dryers, clarifiers), boilers, flares, MCC/UPS/IS barriers, steam trap variants, solenoid (XV) and motor-operated (MOV) valves, foot/ball-check/float valves, air filter regulators, pulsation dampeners, drain funnels, fans, coils — plus your own imported SVG symbols with a click-to-place port editor
- 16 line classes with correct ISA rendering: heavy/light process, impulse, electric (dashed), pneumatic (double slash), hydraulic, capillary, data/software (circles), electromagnetic, jacketed (double line), heat-traced, underground, existing, battery limit
- Multi-sheet projects — sheet tabs, per-sheet title blocks, off-page connectors linked across sheets with jump-to-target, project-wide tag validation
- DEXPI-oriented export and import — Proteus Schema 4.2-shaped XML with a documented model mapping (docs/DEXPI-MAPPING.md); IPD Studio files round-trip, foreign files map via ComponentClass
- CAD interop — layered R12 DXF export (opens in AutoCAD/LibreCAD), and DXF underlay import: load a legacy drawing as a locked gray background and redraw intelligently on top (DWG findings)
- Generated deliverables — one-click ISA-5.4-style loop diagrams (field / marshalling / control room with numbered terminals) and ISA-20-style instrument datasheets (form editor, PDF, CSV matrix)
- Works offline — installable PWA; the whole editor runs with no internet
- Editor power — Ctrl+F find-any-tag across sheets, align/distribute, live snap guides, print-all-sheets PDF, line sequence auto-numbering
- Obstacle-avoiding orthogonal routing with draggable waypoints, ports with connection rules (a pneumatic signal won't connect to a pipe nozzle)
- Live validation: duplicate tags, missing tags, illegal ISA letters, dangling lines, incompatible connections, duplicate line numbers
- Deliverables: SVG + PNG export, print-to-PDF at true sheet scale (A4–A1, ANSI B/D) with title block, instrument index CSV, line list CSV, DEXPI XML — plus starter templates
- Editor: zoom-to-cursor, pan, marquee select, undo/redo, copy/paste, rotate, snap-to-grid, keyboard shortcuts, autosave with restore
git clone https://github.com/Coldbari/IPD-Studio.git
cd IPD-Studio
npm install
npm run dev # open http://localhost:5173, Templates → Sample for a demo plant
npm test # 600+ unit tests
npx playwright test # e2e suite (starts its own dev server)Drawings save as .pnid.json — versioned, human-readable JSON
(schemaVersion, sheet metadata, nodes[], edges[]). See
examples/sample-plant.pnid.json.
- Custom HMI widgets from your own SVG with animation bindings (level fills, spin-on-run) — the same import pipeline the P&ID symbols already have
- Legend sheet generation (line classes + fluid colors in use)
- Real-time collaboration (opt-in self-hosted sync; the no-backend local-first default stays), review comments
- DEXPI conformance hardening; in-app DWG per the spike findings
PRs, symbol requests, and bug reports are all welcome — start with CONTRIBUTING.md for the fork→branch→PR flow, the architecture in one paragraph, and the how-to for adding a symbol. If you're a practicing I&C or process engineer, even a "this convention is wrong" issue is a valuable contribution.
IPD Studio is free, and stays free. But behind every calm-starting plant and every routed pipe there's a developer running on coffee.
☕ Buy me a coffee → keep the pumps running
One coffee a month keeps the symbols coming; a bigger one moves your feature requests to the front of the queue. If this tool just saved you a $2,600/year license — a coffee is a pretty good deal for both of us. 😄
Symbols are authored independently as original SVG from public-domain geometric conventions. This project is not affiliated with or endorsed by the International Society of Automation. "ISA" is referenced solely to describe the drawing conventions the symbols follow.
AGPL-3.0-only — free forever for everyone, including professional use: draw commercial P&IDs, run paid training, keep every drawing. The license covers the software, not your documents.
The protection: anyone who redistributes or hosts a modified IPD Studio — including as a web service — must publish their complete source under the AGPL as well. Proprietary copies are not permitted.
Want to embed IPD Studio in a closed-source product or host a modified version without publishing your changes? A paid commercial license is available — see COMMERCIAL-LICENSE.md or write to praharshchamp610@gmail.com.
Copyright © 2026 Praharsh Nagpure. See LICENSE.



