You write the story.
They choose the way.

Trama is a web editor for writing branching interactive stories without code. You connect scenes on a visual board, decide what the story remembers, and share it with one link that readers open without an account.

Don’t read about it. Play it.

THE LAST THRESHOLD

“You promised to come back.” The voice in your dreams leads you to the Hollow Citadel, where a crown imprisons stolen souls.

You escaped once, but lost your memory. Free the others before dawn seals the gates for a year. Which gift will get you inside?

What the story remembers
  • Nothing yet. Make a choice.
No sign-up. Pick a path.

THE DARK LIGHTHOUSE

Night falls on the coast and the lighthouse stays dark. Far off, the lights of a ship are drifting towards the rocks.

What the story remembers
  • Nothing yet. Make a choice.
No sign-up. Pick a path.

THE OASIS

Three days ago the storm cut you off from the caravan. You have half a flask of water and two ways: the stars, or footprints in the sand.

What the story remembers
  • Nothing yet. Make a choice.
No sign-up. Pick a path.

Complete stories made with Trama. Move between them, make a choice and watch what each story remembers.

From your first sentence to a story you can play.

Create your interactive adventure with tools crafted for every part of your creative process.

  1. I Write
  2. II Give it shape
  3. III Give it life
  4. IV Publish

Write

A space for every interaction

A scene, a conversation or an extended narration.

Scenes and answers

Each scene is a node with the paths a reader can choose. Each path connects to the next scene.

Read the documentation →

Opening the board…

This is the real editor. Drag the scenes, rewrite a passage, connect an answer.

Rich text editor
Write passages with headings, lists, bold and italics. Insert variables to weave the reader’s choices into the text.
Text interpolation
Insert variables in passages and answers to show the reader’s name, stats or conditions. The text displays their current values as the story is played.

Hello, #name → Hello, MorganYou only have #coins coins? → You only have 12 coins?

Focus mode
Expand any text into a distraction-free editor with headings, lists, bold, italics and variables.
Images
Content, text and ending scenes can show an image above the passage.

Give it shape

Chart the paths

A visual board that stays readable as the story grows.

Node types and connections

Use different types of node: scene, distributor, ending... with many ways to join them to one another. You have total freedom to shape your story.

Read the documentation →

Opening the board…

Drag the frame and its scenes move with it.

Random paths
Connect one output to several scenes and each playthrough picks one of them at random.
Groups and frames
Fold a chapter into a group with its own inner board, or keep it visible in a coloured frame you move as one.

Give it life

Make choices matter

What the reader does changes what comes next. No code.

Events

When a reader reaches a scene or picks an answer, an event adds to a number, turns a condition on or off, or saves a text.

Read the documentation →

Opening the board…

This is the real editor. Drag the scenes, rewrite a passage, connect an answer.

Requirements
An answer can need a minimum number or a condition. You choose whether it is hidden, locked, or locked showing what is missing.
Distributors
A distributor is an invisible step that checks the reader’s state and follows the first route that matches, or Otherwise.
Player text
A text scene asks a question and saves the answer for that playthrough, up to 100 characters.
Variables and categories
Insert any value in a passage or answer. A category lists everything the reader owns, such as an inventory.

Publish

From your board to your readers

Test, share, see how it is played and never lose work.

Endings

Create as many endings as you want. Each can have a share button with its own message, plus your own external links.

Read the documentation →

Opening the board…

This is the real editor. Drag the scenes, rewrite a passage, connect an answer.

Test and fix
Preview opens beside the board and follows the current scene. Go back, restart, and switch to Edit to correct a passage in place.
Reading modes
Show one scene at a time or turn on cumulative mode, which keeps earlier steps above the current one, like a page.
Share
With a link. They need no account or install. Choose an address that is easy to remember; a stable link keeps working if you change it.
Your brand
Set the text and link in the story’s footer, and hide the Trama link.
Statistics
Turn on tracking and each playthrough appears in a table with the name, the date, and its stats and conditions.
Saving and your data
Changes save automatically, a failed save warns you and lets you retry, and undo and redo cover the session. You can download the story as JSON.

Why Trama

Create, publish, analyse.

The whole journey of an interactive story in one place: you write it without code, share it with a link and see how it is played.

  1. Write worlds where anything can happen

    Scenes, paths and choices the story remembers, without a single line of code.

  2. Let it reach everyone

    With one link, your story opens on any screen. Readers only have to start playing, with no account.

  3. Discover where they walk

    See which paths your readers choose and what they reach the end with. With the Pro plan, coming soon.

  • Real logic, no syntax

    Numbers, conditions, routes and variables are set up with forms. There is no language to learn.

  • A way out of our player

    An open MIT engine plays your story in any interface you build, or that your agent builds.

  • A whole game from several stories

    With Trama Engine, your interface loads each story by its id and ties them together as the chapters, quests or characters of one game.

Compared

How does Trama compare with other tools?

Trama is for authors who want game-like logic and a link to share, without code or their own hosting. For other jobs, another tool is the better choice, and we say which.

Trama compared with Twine, ink + Inky, ChoiceScript, Arcweave and articy:draft X
CriterionTramaTwineink + InkyChoiceScriptArcweavearticy:draft X
Where you writeVisual board, in the browserPassage map, in the browser or desktop appWritten script, in a desktop appCode in plain text filesVisual boards, in the browserVisual flow, in a Windows or Mac app
Logic without writing codeYes, with formsPartly: macros like (if:) in the text, with a wizard that inserts themNo, it is a scripting languageNo, it is a programming languageNo, conditions use arcscriptNo, conditions use articy:expresso
Link to play, no reader accountBuilt in, with your own addressYou publish an HTML file and host itYou export a web page and host itYou export it, or submit it to their hosting programmeBuilt in, public Play Mode link—
Playthrough statisticsBuilt in—————
Open engine for your own interfaceMIT, no dependenciesOpen sourceMITOwn licence, non-commercial without an agreementOpen-source plugins and JSON exportExports and importers
Ready for Unity or UnrealNo. JavaScript engine only—Yes, Unity and Unreal—Yes, Unity, Unreal and GodotYes, Unity and Unreal
A playable file to host yourselfNot yet. You can build one with the engineYes, HTMLYes, web pageYes, HTML——
Work as a teamNo, one author per story———Yes, in real timeYes, multi-user
PriceFree. Pro, with analytics, coming soonFreeFreeFree for non-commercial useFree up to 3 projects. Pro: $15 per member a month, billed yearlyFree up to 700 objects per project. Paid plans above that

“—” means we did not find it in the tool’s official pages. Tell us if something has changed. Checked against official pages on .

Sources

For developers

Your story, in any interface.

Trama Engine is the engine that plays every Trama story, now free and open source. Load a story by its id and draw it however you like: a terminal, a game screen, a chat, an illustrated book. Trama’s reader becomes just one option.

A terminal

> The tower door is locked. By the well, a stranger struggles with a heavy bucket.

?

An illustrated book

The tower door is locked. By the well, a stranger struggles with a heavy bucket.

A game screen

♡♡

The tower door is locked. By the well, a stranger struggles with a heavy bucket.

Anything you imagine

These are just examples. Build your own interface, with any design and interactions you want.

One story, endless possibilities. Try these examples: each plays independently and shows events its own way.

Trama Engine
@trama-app/engine is the free MIT engine behind every Trama story. It has no UI or dependencies and runs in browsers, Node 18+, Deno and workers.
Public story API
A public read-only endpoint returns a story as JSON by id or address, with open CORS. Stories cannot be listed or written through it.
Coding agents
Paste the prompt on this page, or install the official trama-engine skill for Claude. It teaches an agent to build players, maps and analyses.
npm install @trama-app/engine

import { createGame, fetchStory } from '@trama-app/engine'

const story = await fetchStory({ id: 'YOUR_STORY_ID' })
const game = createGame(story.tree)
game.subscribe(event => {
  if (event.type === 'state') draw(event.state)
})
game.start()
View on npm ↗Read the source ↗

Reading this as an AI assistant?Full product summary (text)Short index (llms.txt)Story formatEngine API

A few loose ends.

What is Trama?

Trama is a web editor for writing branching interactive stories without code. You connect scenes on a visual board and share the story with a link that readers open without an account.

Do I need to know how to code?

No. You write passages in a text editor, connect scenes on the board and set up events and requirements with forms.

Does Trama write the story for me?

No. Trama does not generate your text. The words, characters and choices are yours.

Do readers need an account?

No. They open your link and start, with nothing to install.

How much does it cost?

Nothing. The Creative plan is free and includes the whole editor. Pro, coming soon, will add analytics for published stories. Trama Engine is free and open source under the MIT licence.

Is Trama an alternative to Twine?

Yes, if you want a hosted link, statistics and logic set up with forms instead of macros. Twine is free and publishes an HTML file you host yourself, so it is the better choice if those matter most.

Can I use a story inside Unity or Unreal?

Not directly. Trama’s engine is JavaScript and runs in browsers, Node 18+, Deno and workers. For a native Unity or Unreal pipeline, ink, Arcweave or articy:draft X fit better.

Can I host a playable story on my own website?

Yes, with Trama Engine. Your own interface on your site loads the story from Trama by its id, so the story stays in Trama. The JSON download holds story data, not a standalone HTML game.

Can I download my story’s data?

Yes. Export JSON from the story options. It includes the text, structure and configuration. Images stay as external references, and there is no import tool yet.

Can several people edit the same story?

No, Trama has no team editing today. Arcweave and articy:draft X are built for it.

What happens next?

That part is yours to write.

Create your first storyOpen your dashboard