# Trama > 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. Website: https://trama.app. Comparison checked on 2026-11-09. ## Facts - Type: Web editor and player for branching interactive fiction - For: Authors of interactive fiction and adventures. Developers who want the engine - Runs on: Any modern browser. Nothing to install - Code needed: None. Logic is set up with forms - Readers: Play from a link, with no account - Text: Written by you. Trama does not generate it - Interface languages: English, Spanish and Catalan - Price: Creative plan: free. Pro, with analytics, coming soon - Engine: @trama-app/engine: free, open source, MIT, no dependencies ## Capabilities ### Write: A space for every interaction - **Scenes and answers.** How do I write a branching story? Each scene is a node with the paths a reader can choose. Each path connects to the next scene. Example: The scene “The crossroads” offers “Enter the forest” and “Follow the river”. Each leads to a different scene. Docs: https://trama.app/docs/features#content-nodes - **Rich text editor.** Can I format my story’s text? Write passages with headings, lists, bold and italics. Insert variables to weave the reader’s choices into the text. Example: Give a scene a heading, emphasise a clue in bold and insert the reader’s name as a variable. Docs: https://trama.app/docs/features#focus-mode - **Text interpolation.** Can my story’s wording use the reader’s values? 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. Example: Hello, #name → Hello, Morgan; You only have #coins coins? → You only have 12 coins? Docs: https://trama.app/docs/features#variables - **Focus mode.** Can I write long passages comfortably? Yes. Expand any text into a distraction-free editor with headings, lists, bold, italics and variables. Example: Press Ctrl+F or ⌘F in a passage to write Chapter 2 on a full page, then press Escape to return to the same spot. Docs: https://trama.app/docs/features#focus-mode - **Images.** Can a scene have an image? Yes. Content, text and ending scenes can show an image above the passage. Example: A scene shows a painted landscape and, under it, “The handwriting looks familiar” with the answer “Read it”. Docs: https://trama.app/docs/features#images ### Give it shape: Chart the paths - **Node types and connections.** What types of node are there, and how do they connect? 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. Example: One answer in the market joins two scenes at once; another joins a distributor that picks where the story goes next. Docs: https://trama.app/docs/features#connections - **Random paths.** Can a choice lead somewhere at random? Yes. Connect one output to several scenes and each playthrough picks one of them at random. Example: “Toss the coin” connects to “Heads” and “Tails”. Restart it a few times and the outcome changes. Docs: https://github.com/GerardEst/trama/blob/main/skills/trama-engine/references/story-format.md#joins - **Groups and frames.** How do I keep a big story in order? Fold a chapter into a group with its own inner board, or keep it visible in a coloured frame you move as one. Example: Chapter 2 stays visible in a frame with three scenes. Chapter 3 is folded into a group of six. Docs: https://trama.app/docs/features#organisation ### Give it life: Make choices matter - **Events.** How does a story remember a choice? 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. Example: “Help the stranger” adds 1 to trust. “Take the key” turns on has_key. Docs: https://trama.app/docs/features#events - **Requirements.** Can an option depend on what happened before? Yes. An answer can need a minimum number or a condition. You choose whether it is hidden, locked, or locked showing what is missing. Example: “Open the door” is locked and says it needs the key. It opens after “Take the key”. Docs: https://trama.app/docs/features#requirements - **Distributors.** Can the story change on its own, without asking? Yes. A distributor is an invisible step that checks the reader’s state and follows the first route that matches, or Otherwise. Example: trust > 0 leads to “The guard steps aside”. Otherwise, to “The gate stays shut”. The reader sees no question. Docs: https://trama.app/docs/features#distributors - **Player text.** Can readers type their own answer? Yes. A text scene asks a question and saves the answer for that playthrough, up to 100 characters. Example: It asks “What should we call you?”, saves the answer in name and greets the reader by it in the next scene. Docs: https://trama.app/docs/features#player-input - **Variables and categories.** Can the text change depending on the reader? Yes. Insert any value in a passage or answer. A category lists everything the reader owns, such as an inventory. Example: You write “Welcome back, #name.” and the reader sees “Welcome back, Morgan.” Docs: https://trama.app/docs/features#variables ### Publish: From your board to your readers - **Test and fix.** Can I test the story as I write? Yes. Preview opens beside the board and follows the current scene. Go back, restart, and switch to Edit to correct a passage in place. Example: While playing a branch you spot a typo, press Edit and fix it. The correction is saved in the story. - **Reading modes.** Can readers see what they have already read? Yes. Show one scene at a time or turn on cumulative mode, which keeps earlier steps above the current one, like a page. Example: In cumulative mode, the passage and the chosen answer stay on the page as the next scene appears below. Docs: https://github.com/GerardEst/trama/blob/main/skills/trama-engine/references/story-format.md#published-story - **Share.** How do readers get my story? 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. Example: trama.app/the-last-threshold opens the story directly. The link always shows your latest saved changes. Docs: https://trama.app/docs/features#share-node - **Endings.** What can happen when a story ends? Create as many endings as you want. Each can have a share button with its own message, plus your own external links. Example: An ending offers “Pass this adventure on” with a spoiler-free message and a link to your other stories. Docs: https://trama.app/docs/features#share-node - **Your brand.** Can I publish under my own name? Yes. Set the text and link in the story’s footer, and hide the Trama link. Example: The footer of the story shows “Stories by Morgan” linking to your website. Docs: https://github.com/GerardEst/trama/blob/main/skills/trama-engine/references/story-format.md#published-story - **Statistics.** Can I see how my story is played? Yes. Turn on tracking and each playthrough appears in a table with the name, the date, and its stats and conditions. Example: You see that Morgan ended with trust 3 and the key, while Noor ended with trust 1 and no key. - **Saving and your data.** What if I make a mistake or lose my connection? 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. Example: After a dropped connection, the editor says “Board changes not saved” and offers “Retry save”. ### Build: Go beyond the player - **Trama Engine.** Can I play a story in my own design? Yes. @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. Example: Load a story with fetchStory({ slug }), start it with createGame and draw it as a terminal, a chat or a game screen. Docs: https://github.com/GerardEst/trama/blob/main/packages/engine/README.md - **Public story API.** Can code read a story? Yes. 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. Example: GET …/story?slug=the-last-threshold returns { id, name, slug, settings, tree }. Docs: https://github.com/GerardEst/trama/blob/main/skills/trama-engine/references/story-format.md - **Coding agents.** Can an AI agent build on my story? Yes. 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. Example: You ask: “Make a terminal-style player for https://trama.app/my-story”. Trama’s text is still written by you. Docs: https://github.com/GerardEst/trama/blob/main/skills/README.md ## Compared with other tools | Criterion | Trama | Twine | ink + Inky | ChoiceScript | Arcweave | articy:draft X | | --- | --- | --- | --- | --- | --- | --- | | Where you write | Visual board, in the browser | Passage map, in the browser or desktop app | Written script, in a desktop app | Code in plain text files | Visual boards, in the browser | Visual flow, in a Windows or Mac app | | Logic without writing code | Yes, with forms | Partly: macros like (if:) in the text, with a wizard that inserts them | No, it is a scripting language | No, it is a programming language | No, conditions use arcscript | No, conditions use articy:expresso | | Link to play, no reader account | Built in, with your own address | You publish an HTML file and host it | You export a web page and host it | You export it, or submit it to their hosting programme | Built in, public Play Mode link | — | | Playthrough statistics | Built in | — | — | — | — | — | | Open engine for your own interface | MIT, no dependencies | Open source | MIT | Own licence, non-commercial without an agreement | Open-source plugins and JSON export | Exports and importers | | Ready for Unity or Unreal | No. JavaScript engine only | — | Yes, Unity and Unreal | — | Yes, Unity, Unreal and Godot | Yes, Unity and Unreal | | A playable file to host yourself | Not yet. You can build one with the engine | Yes, HTML | Yes, web page | Yes, HTML | — | — | | Work as a team | No, one author per story | — | — | — | Yes, in real time | Yes, multi-user | | Price | Free. Pro, with analytics, coming soon | Free | Free | Free for non-commercial use | Free up to 3 projects. Pro: $15 per member a month, billed yearly | Free 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. ### Where Trama stands out - Write worlds where anything can happen: Scenes, paths and choices the story remembers, without a single line of code. - Let it reach everyone: With one link, your story opens on any screen. Readers only have to start playing, with no account. - 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. ### Sources - Twine: https://twinery.org/ - Twine: https://twinery.org/reference/en/publishing/publishing.html - Twine: https://twine2.neocities.org/ - ink + Inky: https://www.inklestudios.com/ink/ - ChoiceScript: https://www.choiceofgames.com/make-your-own-games/choicescript-intro/ - ChoiceScript: https://github.com/dfabulich/choicescript - ChoiceScript: https://www.choiceofgames.com/about-us/faq-2/ - ChoiceScript: https://www.choiceofgames.com/make-your-own-games/exporting-and-publishing-your-game/ - Arcweave: https://arcweave.com/ - Arcweave: https://arcweave.com/pricing - Arcweave: https://arcweave.com/docs/1.0/arcscript - Arcweave: https://arcweave.com/docs/1.0/sharing - Arcweave: https://docs.arcweave.com/project-tools/export - articy:draft X: https://www.articy.com/en/articydraft/free/ - articy:draft X: https://www.articy.com/help/Scripting_Conditions_Instructions.html - articy:draft X: https://www.articy.com/en/articydraft-x-now-on-mac-os/ ## Frequently asked questions **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. ## Links - Documentation: https://trama.app/docs/features (also /es/docs/features and /ca/docs/features) - Index for AI assistants: https://trama.app/llms.txt - Engine on npm: https://www.npmjs.com/package/@trama-app/engine - Source code: https://github.com/GerardEst/trama