# Deck codes and saved decks

Reading a deck code, saving decks, sharing them in Community decks, and checking a deck is legal today.

A deck code is the line of text Hearthstone gives you when you copy a deck. The [Deck reader](https://www.gankly.com/hs/decks) reads one and shows you the deck.

*A deck in the Deck reader.*

## Reading a code

In Hearthstone, open the deck and copy it, then paste it into the Deck reader. You can paste the whole text the game copies, with the deck’s name and card list; Gankly finds the code in it. You will see the class and format, every card with its count and cost, the mana curve, and the dust it costs to craft.

## Saving a deck

Signed in, save any deck you read. Saved decks appear in the tracker, so you can pick one when you log a game. Imported games are filed under the saved deck whose cards they played, and each saved deck shows its own record. Every account can save up to 200 decks, free.

Gankly for Mac saves decks too: its **Collection** view lists the decks in your Hearthstone collection, each savable in one click. See [The app’s views](https://www.gankly.com/docs/mac/views#collection).

## Sharing a deck

A saved deck can be public or private. Public decks appear in [Community decks](https://www.gankly.com/hs/decks/community), where anyone can read them, copy the code and like them, sorted by newest or most liked, and filtered by class and format. Sharing a deck does not add it to the Meta page, which is built only from games played.

## Is a deck legal today?

A deck code records the format it was built for, but not whether its cards are still legal there. Ask Gankly in Claude (see [Using Gankly in Claude](https://www.gankly.com/docs/agents)), and it checks every card against this year’s Standard sets and the current bans.
