D2 Playground
Browser-based editor that compiles D2 diagram scripts into diagrams with selectable layout engines and SVG/PNG export.
No install, just open itTested in a browser
Open it
No install, just open it
- No account needed
- No ads seen
- Contacted no other sites
- What pickfit typed in stayed on the device
What it does
- Edit D2 scripts and see the diagram update liveTested
How to use it
- Type or change your D2 script in the editor, for example
<name> -> <name>. - Watch the diagram pane redraw to match your script.
- Type or change your D2 script in the editor, for example
- Choose the Dagre, ELK or TALA layout engineNot tested
- Export diagrams as PNG or SVGNot tested
How far pickfit got
- Opens in a browser
- 1 of 3 features work
Good for
- turn D2 text into diagrams in the browser
- learn the D2 diagram language
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
It worked when used in a browser
When pickfit opened it in a browser on 15 Nov 2026, the page loaded to its main screen. pickfit then used it, and this worked: Edit D2 scripts and see the diagram update live.