{"schemaVersion":"1.0","record":{"label":"Twine","description":"Visual passage-based authoring tool for interactive stories published as HTML.","aliases":["Twine 2"],"kind":"software","website":"https://twinery.org/","overview":"Twine is an authoring tool for interactive, nonlinear stories. Writers arrange linked passages and can add variables, conditional behavior, images and styling as needed. A published story runs as HTML without requiring players to install the editor, making the tool useful for browser-based fiction and narrative prototypes.","license":"GPL-3.0 editor; story formats have separate licenses; commercial stories permitted","lifecycle":"active","example":false,"features":[{"name":"HTML story publishing","status":"supported","detail":"Produces a playable HTML file; separate hosting is needed for online publication.","useCase":"Browser interactive fiction","platforms":["Authoring and runtime targets differ; see article"],"region":"Distribution platforms, component licenses and content rights apply","evidence":[{"url":"https://twinery.org/reference/en/publishing/publishing.html","locator":"HTML file delivery versus hosting for browser play","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"}]},{"name":"Browser authoring backup","status":"limited","detail":"The browser library is local storage and needs user-created archives.","useCase":"Preserve narrative projects","platforms":["Authoring and runtime targets differ; see article"],"region":"Distribution platforms, component licenses and content rights apply","evidence":[{"url":"https://twinery.org/reference/en/getting-started/basic-concepts.html","locator":"Passages, library storage and story formats","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"},{"url":"https://play.twinery.org/reference/en/troubleshooting/backups.html","locator":"Desktop automatic backups versus browser Archive responsibility","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"}]}],"alternatives":[],"slug":"twine","draftAlternatives":[{"targetSlug":"ink","status":"limited","detail":"Visual passage authoring can replace the story-writing task, but ink syntax and engine integrations are not interchangeable.","useCase":"Choice-based browser stories","platforms":["Authoring and runtime targets differ; see article"],"region":"Distribution platforms, component licenses and content rights apply","evidence":[{"url":"https://twinery.org/","locator":"Nonlinear stories, HTML publishing and commercial use","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"},{"url":"https://www.inklestudios.com/ink/","locator":"MIT language/editor/Unity plugin; JSON and web exports; middleware role","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"}]}],"evidence":[{"url":"https://twinery.org/","locator":"Nonlinear stories, HTML publishing and commercial use","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"},{"url":"https://twinery.org/reference/en/getting-started/basic-concepts.html","locator":"Passages, library storage and story formats","retrievedAt":"2026-10-06T22:55:08Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/klembot/twinejs","locator":"GPL-3.0 application and Windows/macOS/Linux packages","retrievedAt":"2026-10-06T22:55:42Z","id":"twine-repo","title":"Twine application repository","kind":"vendor"},{"url":"https://twinery.org/","locator":"Nonlinear stories, HTML publishing and commercial use","retrievedAt":"2026-10-06T22:55:08Z","id":"twine-home","title":"Twine overview","kind":"vendor"},{"url":"https://twinery.org/reference/en/getting-started/basic-concepts.html","locator":"Passages, library storage and story formats","retrievedAt":"2026-10-06T22:55:08Z","id":"twine-concepts","title":"Twine basic concepts","kind":"vendor"},{"url":"https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-storyformats-spec.md","locator":"Story formats compile passage data into runnable HTML; syntax varies","retrievedAt":"2026-10-06T22:55:08Z","id":"twine-formats","title":"Twine story-format specification","kind":"vendor"},{"url":"https://play.twinery.org/reference/en/troubleshooting/backups.html","locator":"Desktop automatic backups versus browser Archive responsibility","retrievedAt":"2026-10-06T22:55:08Z","id":"twine-backup","title":"Twine backups","kind":"vendor"},{"url":"https://twinery.org/reference/en/publishing/publishing.html","locator":"HTML file delivery versus hosting for browser play","retrievedAt":"2026-10-06T22:55:08Z","id":"twine-publish","title":"Publishing a Twine story","kind":"vendor"},{"url":"https://www.inklestudios.com/ink/","locator":"MIT language/editor/Unity plugin; JSON and web exports; middleware role","retrievedAt":"2026-10-06T22:55:08Z","id":"ink-home","title":"ink and Inky overview","kind":"vendor"}],"overviewCitations":["twine-home","twine-concepts"],"licenseCitations":["twine-repo","twine-home"],"sections":[{"id":"formats","heading":"Passages and story formats","paragraphs":[{"id":"format","content":[{"text":"Twine's editor is distinct from the story format that supplies a story's runtime behavior. Formats determine available macros, syntax and presentation. They combine passage data with code into the published HTML. Changing the selected format is therefore not simply changing a visual theme: existing format-specific logic may need to be rewritten."}],"citations":["twine-formats"]},{"id":"scope","content":[{"text":"Simple linked stories can be written without conventional programming, while more elaborate interactions use the chosen format's features. CSS and JavaScript provide additional customization. This supports text-centered interactive experiences, but does not imply a general 3D engine or an automatic implementation of every game mechanic."}],"citations":["twine-home"]}]},{"id":"storage","heading":"Storage and publishing","paragraphs":[{"id":"library","content":[{"text":"Browser Twine keeps its story library in browser storage rather than a remotely synchronized account. The desktop application keeps local story files. Desktop backups are created automatically, whereas browser users must preserve their work through Archive. Clearing browser data without a separate backup can therefore affect authoring work even if the website remains available."}],"citations":["twine-concepts","twine-backup"]},{"id":"publication","content":[{"text":"Publishing creates an HTML file, not a hosted website. A creator can distribute it directly or place it on a host that serves playable HTML. Some cloud file services only offer downloads, so uploading the file somewhere does not necessarily let a reader play it in place."}],"citations":["twine-publish"]}]},{"id":"substitution","heading":"Licensing and substitution","paragraphs":[{"id":"comparison","content":[{"text":"The editor is GPL-licensed, while the project expressly permits commercial stories. Twine can substitute for "},{"text":"ink","targetSlug":"ink"},{"text":" with Inky for self-contained, choice-based browser fiction when visual passage organization is preferred. It is not a source-compatible replacement for ink scripts or an equivalent game-engine integration; story-format licenses and any imported media remain relevant to distribution."}],"citations":["twine-repo","twine-home","ink-home"]}]}]},"id":"Q854","revision":902,"updatedAt":"2026-10-13T12:48:40Z","sourceUrl":"https://substitutefor.net/entities/Q854?revision=902"}}