Toolvito

Works on this device

Card Shuffler

Shuffle a deck of playing cards without a real deck. Choose Shuffle and you get all 52 cards in a random order, from the top card to the bottom card. You can also deal hands, draw cards, or shuffle your own cards. The deck is mixed on your device.

Choose your deck

Mixes a full deck of 52 cards, with or without jokers, and lists it from the top card to the bottom card.

Deck and settings

From 1 to 8. Several decks are mixed together into one pile.

The deck is shuffled in this browser. Nothing is sent to a server.

Your cards will show here

Choose Shuffle to mix the deck.

How to shuffle a deck

  1. Choose Shuffle. With the starting settings you get one deck of 52 cards in a new random order.
  2. Read the list from the top. Position 1 is the top card of the deck.
  3. To add jokers or mix several decks, change Jokers and Number of decks.
  4. To deal cards to players, choose Shuffle and deal hands in the first menu and enter the number of hands and the cards in each hand.
  5. Use Copy cards, Download CSV or Print to keep the order. Choose Shuffle again for a new order.

What each option does

  • Shuffle a deck of playing cards lists the whole deck in a random order. You can mix 1 to 8 decks into one pile.
  • Shuffle and deal hands deals the same number of cards to each hand, one card at a time around the table. Under More options you can sort each hand and list the cards left in the deck.
  • Draw cards from a shuffled deck takes one or more cards from the top. A card cannot come twice in one draw, unless you use more than one deck.
  • Shuffle my own cards mixes a list that you type, for example the cards of another game. It can also deal hands from your list.
  • Write the cards as changes the text: A♠ Ace of Spades, A♠, Ace of Spades or AS.

How the cards are named

A deck has four suits: Spades ♠, Hearts ♥, Diamonds ♦ and Clubs ♣. Each suit has 13 cards: Ace (A), 2 to 10, Jack (J), Queen (Q) and King (K). That makes 4 × 13 = 52 cards. Jokers are written as Joker 1 and Joker 2.

The table always shows the sign and the name in words, so you do not need to tell the signs apart by colour or shape. In the form with letters only, S, H, D and C stand for the suits and JK for a joker.

What fair means here

A fair shuffle means that every order of the deck has the same chance. One deck of 52 cards has more than 8.06 × 10^67 different orders. A shuffle does not depend on the shuffles before it, and no card is ever due.

The tool starts from a new deck in a fixed order and mixes it once with the method known as the Fisher-Yates shuffle. It goes from the last card to the second card and swaps each card with a card at a random position at or before it. The random positions come from the secure generator of your browser (the Web Crypto function crypto.getRandomValues). The tool never uses Math.random.

One shuffle is enough. Shuffling again does not make the deck more random.

Worked examples

After a fair shuffle, each of the 52 cards has a chance of 1 in 52 to be on top.

Four hands of 13 cards use the whole deck: 4 × 13 = 52. Four hands of 5 cards use 20 cards and leave 32 in the deck.

There are 2,598,960 different hands of 5 cards in a deck of 52.

Six decks without jokers make a pile of 6 × 52 = 312 cards. Every card is in the pile 6 times.

Limits you should know

  • You can mix 1 to 8 decks, with 0, 1 or 2 jokers in each deck. That is at most 432 cards. You can deal 1 to 20 hands.
  • A list of your own cards can have up to 5,000 cards after copies are counted. One card can have up to 60 characters.
  • The page shows the cards as text and signs. It has no pictures of cards, no animation and no sound.
  • Each run starts from a full new deck. The page does not keep a deck between runs, so you cannot draw one more card from the same shuffle. Read the next card from the list instead.
  • Every hand is shown on the same screen. The page cannot hide cards from the other players.
  • This is not a certified shuffle. Do not use it for games played for money.
  • Decks of other games are not built in. Type or paste their cards in Shuffle my own cards.
  • This page is not a card shuffling machine and does not sell or compare one.

Related tools