Appearance
Deck builder
The deck builder reads the deck codes and text lists players already share, splits a deck into piles when the game has zones, and checks the deck against your rulesets as you build. This page covers every import and export format per game, how piles and templates work, and what the builder's validation messages mean.
Importing and exporting
To import, paste a deck code or a deck list into an empty deck's Import a deck box. The builder tries each format its game accepts, in the order listed below, and loads the first one that reads. A list line it cannot read, or a card it cannot find, is skipped and listed in a warning under the box, so nothing disappears silently.
To export, open Deck Preview (the eye button). Share copies a link to the deck's page (/<locale>/decks/<deck code>) built from the game's Turny.gg deck code. Next to it are Copy deck list and, for Riftbound, Copy deck code. A shared link opens without an account, and Open in deck builder on the deck's page loads it back into the builder.
The Maybeboard pile is never exported. Whether a sideboard keeps its place depends on the format; the notes under each game say which formats carry one.
Legends of Runeterra
The builder reads the standard Legends of Runeterra deck code, the same code the game client and other LoR sites use.
text
CEAQ2AIAAEDASCYMCQKRUJZNFY2TOAABAEAQABY- Share links to the deck code, and Copy deck list copies the code itself.
- The builder also opens a code from its address:
/en/deck-builder/<code>. - LoR has no sideboard. If a pile is marked Sideboard, its cards are added to the shared code with the rest of the deck.
Pokémon TCG
The builder reads two formats, tried in this order:
Turny.gg deck code (
PTCG1). Pokémon TCG has no official deck code, so Turny.gg uses its own compact, link-safe one. Cards are grouped by set, and each entry is<count>x<number>, or just<number>for a single copy.textPTCG1.me55:4x66,4x128.sv8:2x76.sv8pt5:4x105.sve:2x4,4x5Pokémon TCG Live deck list: the plain-text list the game client exports, one
<count> <name> <SET> <number>line per card.textPokémon: 6 4 Mew ex 30C 66 2 Latias ex SSP 76 Trainer: 8 4 Crispin PRE 105 4 Ultra Ball 30C 128 Energy: 6 4 Basic {P} Energy SVE 5 2 Basic {L} Energy SVE 4The import is forgiving. Section headers, blank lines and a
Total Cards: 60line are ignored, and4xworks as well as4. Set codes are the Pokémon TCG Live abbreviations (PAL,SSP) and are not case-sensitive. Basic Energy lines may leave out the set and number, as Pokémon TCG Live does (4 Basic {P} Energyor4 Basic Psychic Energy). A list that lost its line breaks on the way (a common phone paste problem) is split back into lines when every card in it can be found.
- Share links to the
PTCG1code. Copy deck list copies a Pokémon TCG Live list, which pastes straight into the game client. - The builder also opens a code from its address:
/en/deck-builder/<code>. - Neither format has a sideboard. If a pile is marked Sideboard, its cards are added to the shared code with the rest of the deck.
Riftbound
The builder reads four formats, tried in this order:
Turny.gg deck code (
RIFT1). The same grammar asPTCG1, with upper-case set codes. The Legend, Runes and Battlefields need no zone of their own, since a card's type decides its zone. The sideboard follows anSBsegment at the end.textRIFT1.OGN:6x042-298,3x043-298,3x045-298,3x064-298,6x166-298,205-298,259-298,282-298,289-298,293-298.SB.OGN:2x050-298Piltover Archive deck code: the community code that Piltover Archive, Rift Atlas and Tabletop Simulator read. Cards resolve by set and collector number, so any printing of a card loads it.
textCQAAAAAAAAAACAQFAAAQEAIFAAAACAYAAAACWABNABAAAAIFAAAABTIBACBQEAE2AIAKCAQAUUBAAAIBAAAAAMQAAAPiltover Archive deck list: Piltover Archive's plain-text list, with cards named but not numbered. A
Champion:section is read as part of the main deck, andSideboard:goes to the sideboard.textLegend: 1 Yasuo, Unforgiven MainDeck: 3 Charm 3 Defy 3 Wind Wall 1 Yasuo, Windrider Battlefields: 1 Monastery of Hirana 1 Targon's Peak 1 The Grand Plaza Runes: 6 Calm Rune 6 Chaos Rune Sideboard: 2 Rune PrisonNames match with either subtitle separator, so
Yasuo, UnforgivenandYasuo - Unforgivenare the same card.Turny.gg deck list: the
<count> <name> <SET> <number>list Turny.gg exported before it switched to Piltover Archive's list. It still imports, so older lists keep working, and any printing's set and number loads the card.textMain Deck (10) 3 Charm OGN 43 3 Defy OGN 45 3 Wind Wall OGN 64 1 Yasuo - Windrider OGN 205 Runes (12) 6 Calm Rune OGN 42 6 Chaos Rune OGN 166 Legend (1) 1 Yasuo - Unforgiven OGN 259 Battlefields (3) 1 Monastery of Hirana OGN 282 1 Targon's Peak OGN 289 1 The Grand Plaza OGN 293
The four samples above are the same deck; the Turny.gg deck list leaves out the sideboard because it has no place for one.
- Share links to the
RIFT1code, sideboard included. - Copy deck list copies a Piltover Archive list, sideboard included.
- Copy deck code copies a Piltover Archive code. For now it puts sideboard cards in the main deck, so use Share or Copy deck list to keep a sideboard.
RIFT1, the Piltover Archive code and the Piltover Archive list all carry a sideboard, and on import it lands in the Sideboard pile. In a single-deck layout (Pile View off) there is no sideboard pile, so the builder leaves the sideboard out and tells you how many cards it skipped.- Pasting into any pile's Import a deck box sorts the cards into the Legend, Rune Deck, Battlefields, Main Deck and Sideboard piles by type, so there is no need to paste into each pile.
Piles and deck sets
A simple deck is one list of cards. Turn on Multi Pile to split the builder into several piles, and Pile View to lay them out side by side in columns. Riftbound opens in Pile View because a Riftbound deck has zones; Legends of Runeterra and Pokémon start as a single deck.
Pile settings
Each pile's settings (the gear on the pile) hold:
- Deck name: an optional label for the pile.
- Deck rule: the rule that checks this pile on its own. See Zone rules and the whole-deck rule.
- Role: at most one of these, or none for an ordinary pile.
- Sideboard: the pile is the side deck. Its cards are checked as the sideboard, stay out of the main deck count, and go in the deck code's sideboard where the format has one.
- Maybeboard: a scratch pile. Its cards stay visible but never count toward any rule and are never exported.
- Command zone: only for games with a commander.
- Placement: the pile's column and its order in it. Dragging the pile's handle does the same.
The pile's panel menu sets its View options: the summary strip, the curve and the footer.
Single Deck or Multi deck
With several piles, the header asks what they are:
- Single Deck: the piles are zones of one deck, like Riftbound's Legend, Rune Deck, Battlefields and Main Deck. The rule next to the toggle checks the whole deck, and the piles save as one deck.
- Multi deck: every pile is a separate deck, like a lineup of three decks for a best-of-three event. The rule next to the toggle is a deck set rule that checks the lineup, and the piles save together as a deck set.
Templates
A template is a saved builder layout: which piles exist, each pile's deck rule and role, where each pile sits, what each pile shows, which pile the builder opens on, and a card ruleset. A template never holds cards.
Turny templates are built in. Riftbound's Constructed template opens on the Legend pile, since the Legend decides which domains the rest of the deck can use:
Pile Role Checks Legend Main exactly one Legend Rune Deck Main 12 runes Battlefields Main the Battlefields Main Deck Main the 40-card main deck Sideboard Sideboard the side deck Maybeboard Maybeboard nothing; it never counts Legends of Runeterra and Pokémon have no built-in template yet.
Switch template swaps in another layout. It replaces every pile, cards included, so save first if you want to keep the deck. Picking a deck set rule that a template was built for offers to switch to that template.
Save as Template saves your own layout. It is offered while every pile is empty, and needs a deck set rule chosen. Saving again with the same name updates that template, and Also save the card ruleset pins the current card ruleset to it.
Manage your templates under Settings, Templates: rename them, make them public or private, copy a link, hide Turny templates you don't use, or delete your own. Public templates appear on your profile, and a template's link opens the builder with its piles and rules.
A template's card ruleset is either Recommended or Pinned. A Turny template recommends one (Riftbound's recommends Standard): the builder uses it until you pick a card ruleset for that game yourself, and after that leaves your choice alone. A template saved with Also save the card ruleset pins it, so that ruleset applies every time the template loads.
The active pile also steers the card search. A pile's rule can suggest filters for its zone: the Legend pile shows Legends, and once a Legend is in, the Main Deck pile shows cards in that Legend's domains. You can change or clear the filters at any time.
Zone rules and the whole-deck rule
A multi-pile deck is checked at two levels:
- Zone rules, one per pile, each checking only its own pile. Riftbound's Legend pile checks for exactly one Legend, the Rune Deck pile for 12 runes, the Main Deck pile for 40 cards.
- The whole-deck rule, chosen next to the Single Deck toggle, which checks the merged deck as a unit. Riftbound constructed checks all the zones together, including that your champion matches your Legend and that the sideboard holds at most 10 cards. In a Multi deck layout this is the deck set rule instead.
On top of both, the card ruleset decides which cards are legal at all, for example a format's legal sets and banned cards.
Reading validation messages
- On a pile: the pile's warning icon lists its zone rule's messages and any card-level issues in it.
- For the whole deck: the builder's warning list repeats every pile's messages, prefixed with the pile's name (
Main Deck: The main deck must contain exactly 40 cards.), followed by the whole-deck or deck set rule's messages without a prefix. - On a card: a warning marker on a card names the problem with that card. "This card is directly banned by the selected ruleset." means the card ruleset bans it.
- When a rule can't run: if a rule fails to load, or your browser can't start the sandbox that runs rules, the builder says so rather than showing the deck as legal, and saving is turned off until rules can run.
A message comes from the rule that raised it. The built-in rules explain themselves; for a custom rule, see Custom rulesets and the ruleset script reference.
Tips
- Calculators: the calculator button in the builder header opens stats for the current deck, such as draw odds. See Calculators.
- Search syntax: the card search box takes a query language as well as card names, for example
t:unit cost<=3. Each game has its own fields: Legends of Runeterra, Pokémon TCG, Riftbound. - Saving: Save needs you to be signed in. Deck names are unique on your account, so saving with an existing name replaces that deck. Private decks stay out of public areas until you share them, and the save dialog lists the rule warnings the deck still has.
- Reusing a saved deck: in a multi-pile layout, Use a saved deck loads one of your saved decks into a pile. With Sync on, the pile stays linked to it: changes to the saved deck show up in the pile, and saving the deck set writes the pile back to the saved deck.
- Sharing a layout: to share how you build rather than what you built, make a template public and share its link.