Twine is an open-source tool for telling interactive, nonlinear stories.

You don’t need to write any code to create a simple story with Twine, but you can extend your stories with variables, conditional logic, images, CSS, and JavaScript when you're ready.

Twine publishes directly to HTML, so you can post your work nearly anywhere. Anything you create with it is completely free to use any way you like, including for commercial purposes.

The latest version of Twine is 2.9.2, released 28 July 2024.

Looking for the 1.x version of Twine? It's on the IF Archive.

Learn Twine

The Twine Reference is a guide to the Twine user interface. If you're new to Twine, start here.

Once you're familiar with Twine, you should learn more about the story format you're using. Story formats are like game engines, and determine the features you'll have access to and the way you'll write code.

The Twine Cookbook has advice on how to choose a story format and easy-to-follow examples of how to accomplish common tasks with each of Twine's built-in formats.

Each of Twine's built-in story formats has an online guide:

Community

The Interactive Fiction Community Forum is a web-based forum for interactive fiction authors.

The Twine Discord is a live chat for Twine authors.

Source Code

There are repositories for the Twine application and specs describing the files it works with.

There are repos for Twine's story formats, too:

Twine has been used to create thousands of works. Here's a sample:

(Find more on places like IFDB or itch.io.)

Untitled Nopperabou Game

Stewart C Baker

GIVE IT TIME

Norbez

The End.

EyedNine

Understudied

Jonathan Laury

Admiration Point

Rachel Helps

The Trope Exploit

John C. Knudsen

Girth Loinhammer and the Quest for the Unsee Elixir

Damon L. Wakes

Pluto, en los tiempos del flamenco

Billy Fernández

The Good Egg Club

Winspiration Kids

the eternal adventures of tits magee

Kayleigh Van Overen

ZAC Investigators and the Case of the Dinosaur Tracks

Kos Scribe

Heretic Dreams

Harris Powell-Smith

The Livid Emissary

Grim Baccaris

Buried

SuperFreak

The Keepers Hut

CatePos

Rip Retold

Hipolito

Babyface

Mark Sample

Check Please!

balt77

Super Text Mario

Fabian Neidhardt

Brutal Tendency

disabledpaladin