Narrative & branching dialogue editors
Ink (by Inkle Studios) is a literary markup language built for massive, prose-dense branching narratives with weaves and stateful knots, while Yarn Spinner feels like screenplay dialogue written for scene-by-scene NPC conversations in Unity and Godot.
Ink (MIT, by Inkle Studios) wins for literary, prose-dense interactive fiction, detective RPGs, and choice-driven novels (*80 Days*, *Citizen Sleeper* style) thanks to its stateful weave syntax and standalone Inky playtest app. Yarn Spinner (MIT, used in *DREDGE* and *Night in the Woods*) wins for scene-by-scene NPC speech bubbles, inline engine commands, and automatic CSV localization + voice-over mapping in Unity and Godot.
MIT narrative scripting language behind 80 Days & Inkle RPGs
| Spec | ink (by Inkle) | Yarn Spinner |
|---|---|---|
| Pricing model | Open Source (Free) | Open Source (Free) |
| Price | Free (MIT) | Free (MIT) |
| AI Transparency | Standard Software | Standard Software |
| Commercial / Steam-Safe IP | Yes | Yes |
| Supported Engines | Unity, Godot, Unreal, Web / JS, LÖVE, Any Engine | Unity, Godot, Unreal, Web / JS, Any Engine |
| Output Formats | C#/GDScript/C++ | C#/GDScript/C++ |
| Open source | Yes (MIT) | Yes (MIT) |
| Platforms | Windows, macOS, Linux, CLI | Windows, macOS, Linux, Web, CLI |
| Creator / Studio | Inkle Studios | Secret Lab |
Scenario Verdicts, Pipeline Interop & Pricing
ink) vs Screenplay NPC Dialogue & Localization (Yarn Spinner)Both ink and Yarn Spinner are 100% free, MIT-licensed open-source narrative gems backed by studio veterans who have shipped BAFTA and IGF-winning narrative games. Choosing between them comes down to a single question about how text appears on your game screen: are you writing flowing multi-paragraph interactive literature, or snappy back-and-forth NPC speech bubbles?
inkBuilt by Inkle (80 Days, Heaven's Vault, Pentiment-adjacent CRPG workflows), ink solves the classic branching-tree explosion through weaves (* once-only choices that vanish automatically after you ask them, + sticky choices, and - gather points where branches reconverge without inventing 500 throwaway node names!). Every knot (=== tavern_interrogation ===) automatically tracks how many times the player visited it ({tavern_interrogation > 1: Back again?}), and writers can draft and playtest an entire 200,000-word novel standalone inside the Inky desktop editor before an engineer writes one line of Unity or Godot UI code.
Yarn SpinnerBuilt originally for Night in the Woods and used across hits like DREDGE, A Short Hike, and Frog Detective, Yarn Spinner looks just like a movie script (Merchant: Careful out on those docks tonight! <<play_sfx "thunder">>). Its killer production feature is effortless localization & voice acting: Yarn Spinner automatically stamps every dialogue line with a permanent hex ID (#line:04a92c), extracts ready-to-translate .csv / .po spreadsheets for 12 languages, and maps 04a92c.ogg voice files automatically!
| Scenario / Criterion | ink (by Inkle) | Yarn Spinner |
|---|---|---|
| Syntax Flavor | Prose markup with * weaves & - gathers | Screenplay Character: Line + <<commands>> |
| Editor Experience | Standalone Inky playtest app + VS Code | VS Code extension with live visual Node Graph |
| Localization & VO | Custom tag/external tool setup | Built-in #line: IDs + automatic CSV/VO mapping |
| License | $0 MIT Open Source | $0 MIT Open Source |
| Production Scenario | Recommended Winner | Technical Rationale |
|---|---|---|
| Text-Rich CRPG, Detective Mystery, Visual Novel, or Interactive Book | ink | Weave gather syntax, built-in visit counters, tunnels/threads, and standalone Inky playtesting. |
| 2D/3D Adventure Game with Walk-Up NPC Speech Bubbles (*DREDGE* / *Zelda* style) | Yarn Spinner | Clean `Speaker: Line` screenplay syntax and inline `<<command>>` camera/animation triggers. |
| Multi-Language Localization + Full Voice Acting (5,000+ `.ogg` Clips) | Yarn Spinner | First-class automatic `#line:` ID tagging, CSV string-table export, and Unity/Godot voice asset binding. |
| Web-First Interactive Narrative (JavaScript / TypeScript) | ink (`inkjs`) | `inkjs` compiles `.ink` stories to tiny zero-dependency JSON playable in any browser. |