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, or press Import in the deck panel's footer on a deck that already has cards (on a phone, open the deck with the Build or Import button first). The builder tries each format its game accepts, in the order listed below, and reads the first one that works. On an empty deck a clean list imports straight away. On a deck with cards, the import sheet asks what to do: Replace deck swaps the deck for the pasted list, and Add to deck adds the list's copies to the cards already there. With Multi Pile on and the piles set to Single Deck, a list that carries zones (a Riftbound deck, an MTG list with a sideboard) is sorted into its piles either way: Replace empties the pile you pasted into and every pile the list fills before importing, and Add puts each zone's cards on top of its pile, so a pasted sideboard still reaches the Sideboard pile. Each option shows the card count the pile is left with. Add keeps the deck's name; Replace takes the pasted deck's name when it has one. A list line the builder cannot read, or a card it cannot find, is skipped, and the sheet lists every skipped line with its line number before you import, so nothing disappears silently. For Pokémon, a line whose exact printing is missing but whose card name matches one card is imported as another printing of that card, and the sheet lists it as <line>: imported as <printing> under its own heading. Edit list takes you back to the pasted text. If a pasted list reads as a deck list but none of its lines can be imported, the sheet says nothing could be imported and lists every failed line; text that isn't a deck code or list at all shows the general "could not be read" error instead.
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. ACHsegment names the Chosen Champion, a card that is also in the main deck, and is left out when there is none. ACSsegment after it carries Neeko's Legends, left out when there are none. 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.CH.OGN:205-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. The code carries the Chosen Champion and Neeko's Legends too.
textCQAAAAAAAAAACAQFAAAQEAIFAAAACAYAAAACWABNABAAAAIFAAAABTIBACBQEAE2AIAKCAQAUUBAAAIBAAAAAMQAAEAAAAGNAEPiltover Archive deck list: Piltover Archive's plain-text list, with cards named but not numbered. The card under
Champion:joins the main deck as your Chosen Champion, andSideboard:goes to the sideboard.textLegend: 1 Yasuo, Unforgiven Champion: 1 Yasuo, Windrider MainDeck: 3 Charm 3 Defy 3 Wind Wall 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 and the Chosen Champion because it has no place for them.
- Share links to the
RIFT1code, sideboard, Chosen Champion and Neeko's Legends included. - Copy deck list copies a Piltover Archive list, sideboard included, with the Chosen Champion under
Champion:and one fewer copy of it underMainDeck:. The list has no place for Neeko's Legends, so it leaves them out. - Copy deck code copies a Piltover Archive code, sideboard, Chosen Champion and Neeko's Legends included.
- The exports carry the champion you starred, or the only candidate when there is just one. A deck with several candidates and none chosen exports without a Chosen Champion.
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.- A Piltover Archive code can name Neeko's Legends for a deck with no Neeko in it. The deck imports without them, and a notice names the Legends 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 (Legends of Runeterra, Pokémon TCG, Riftbound): 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 you run a champion matching your Legend, that your Chosen Champion is picked when more than one qualifies, that Neeko's Legends follow her rules, 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.
Riftbound Chosen Champion
A Riftbound deck names one Champion unit that matches its Legend as its Chosen Champion. It starts the game in the Champion Zone but still counts as one of the 40 main-deck cards, so choosing it changes no counts.
- The star: in the Main Deck pile, each Champion unit matching your Legend shows a star. There are no stars before you pick a Legend, and none on sideboard or off-Legend champions.
- One candidate: its star fills on its own. A deck with 3 copies of the same champion needs nothing from you.
- Several candidates: each shows an outline star until you click one, which fills it. Click another to switch; you can't clear the choice.
- Resets: the choice resets when the chosen card leaves the main deck or the Legend changes, falling back to the lone candidate or to outline stars.
- Saving and copying are never blocked. A deck with several candidates and none chosen saves and copies, but shows a message such as "Pick your Chosen Champion: click the star on one of your Yasuo units.", and tournament registration refuses it until you pick one.
- Other rule messages: the Chosen Champion must be in your main deck, must be a Champion unit, and must match your Legend. These are checked only when the deck has exactly one Legend, and a deck with a single matching champion never fails them.
- Elsewhere: deck pages, galleries, highlights and tournament deck results show a filled star on the Chosen Champion, listed first after the Legend. The sample hand never draws it, and draw odds count 39 cards.
Riftbound Neeko's Legends
Neeko, Blending In lets a deck choose up to 3 more Legends besides its starting Legend. They are not deck cards: they count toward no zone, and the deck's domains, Chosen Champion and Signature cards still follow the starting Legend only.
For example, a Yasuo, Unforgiven deck running Neeko can pick Jinx, Loose Cannon, Lee Sin, Blind Monk and Viktor, Herald of the Arcane. Viktor shares no domain with Yasuo, and that is fine: the rest of the deck still has to be Calm and Chaos.
- Choosing: a Legends 0 / 3 block sits under Neeko's row in the Main Deck pile, or in the Sideboard pile when she is only there. Click Edit and the card pool shows only the Legends you can still pick; a card you click goes to her Legends instead of the deck. Done returns the pool to normal, and the × next to a pick removes it.
- Limits: at most 3, each a Legend with a different name, none named like your starting Legend. Extra copies of Neeko share the same 3. With 3 chosen, the block says so until you remove one.
- Removing Neeko: the Legends belong to her. Take out the last Neeko and they are no longer saved, shared or checked.
- Saving and copying are never blocked. A deck whose Legends break the rules saves and copies with a message, and tournament registration refuses it. The card ruleset checks them too, so a banned Legend, or one outside Standard, is flagged like any other card.
- Elsewhere: deck pages, galleries, highlights and tournament deck results list them under Neeko, and the card gallery shows them in their own Legends section after the deck's cards. They are part of the decklist, so they are shown and hidden with it.
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.