free tool, no sign-up

Random Card Generator

Draw random cards from a standard 52-card deck. Pick 1 to 52 cards with or without replacement, add jokers if needed, then reshuffle or copy the list.

Choose how many cards, then draw. Without replacement, cards stay out of the deck until you reshuffle.

Choose how many cards, then draw. Without replacement, cards stay out of the deck until you reshuffle.

52 cards left. Each one has a 1 in 52 chance of being dealt next.

1 to 52. Without replacement, the draw cannot pass the cards still in the deck.

Draw mode

The random card generator deals from a standard 52-card deck for probability lessons and classroom games. Choose how many cards to draw, from a single card up to the whole deck, and leave the draw on without replacement so each card can appear only once. The how-many box cannot go past the cards still left. Switch on with replacement when a lesson needs independent draws, where the same card can come up again. Two jokers stay off unless you turn them on. Every result shows the rank and suit in words, such as Ace of Hearts, next to a simple card face. The deck is ordered with a Fisher-Yates shuffle. Reshuffle puts every card back, and copy list sends the hand to your clipboard.

Draw cards from a standard deck

This random card generator deals from a standard 52-card playing deck: Ace through King in spades, hearts, diamonds and clubs. Set how many cards you want, from one card up to the whole deck, and press Draw cards. Each result shows the rank and suit in words, such as Ace of Hearts, under a simple card face with the suit symbol.

The deck is meant for probability lessons and classroom games. Hearts and diamonds are red. Clubs and spades are black. A normal draw leaves the two jokers out, so the counts students learn in class stay intact: 13 cards in a suit, 4 of each rank, 26 red and 26 black.

Drawing without replacement, for a math class

Drawing without replacement means a card that has been drawn is set aside. It cannot come up again until you reshuffle. The deck starts with 52 cards, so each card has 1 chance in 52 on the first draw. Suppose that card is the Ace of Spades. It is now out of the deck, 51 cards remain, and each of those has 1 chance in 51. The Ace of Spades has no chance of appearing until the deck is put back together.

Ask for five cards and you get five different cards, in the order they were dealt. The deck then holds 47 cards, and the next draw comes only from those 47. The how-many box stops at the number still left, because a card that is already out is not there to draw. In class this is sampling without replacement: the draws are not independent, and the denominator shrinks after every card. The chance the first card is a heart is 13/52, which is 1/4. If it is a heart, the chance the next card is also a heart is 12/51. Together, the chance of hearts on the first two cards is 13/52 × 12/51, which is 1/17.

Drawing with replacement

With replacement, every card is chosen from the full deck and the deck is treated as complete again. Each draw is its own event. The chance of any particular card stays 1 in 52, and the same card can show up more than once in one list. A worksheet that says the draws are independent is asking for this mode.

The cards-left limit does not apply here, because nothing leaves the deck. You can still ask for up to 52 cards, or 54 when the jokers are on. Two lines that both say Ace of Hearts mean the Ace was chosen twice. The deck still contains only one Ace of Hearts.

Ranks, suits and jokers

Each suit runs Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King. Face cards are the Jack, Queen and King: 12 cards in the deck. Aces are their own rank. The four suits are equal, so a random suit on the first draw has probability 1/4, and a named rank such as the Queen has probability 4/52, or 1/13.

Include 2 jokers is off unless you tick it. Turning it on adds a Red Joker and a Black Joker, rebuilds a 54-card deck and shuffles that deck. Turning it off returns the tool to the 52-card deck. Changing the jokers, or switching between with and without replacement, starts a new shuffle so the cards left still match the rules on screen.

How the shuffle stays fair

The deck is ordered with a Fisher-Yates shuffle. Starting at the last card, the shuffle swaps that card with one at a random position from the start of the deck through the current spot, then moves one card to the left and repeats, down to the second card. Every possible order is equally likely. There are 52 factorial such orders, about 8.07 × 10^67. The hand you see is dealt from the top of that order, so a draw without replacement is a fair sample.

Reshuffle puts every card back, including cards already drawn, and runs Fisher-Yates again. Copy list writes the current hand to the clipboard, numbered, one card per line, in the same words shown under each card. A five-card draw is also a handy way to talk about combinations: the number of different five-card hands from 52 cards is 2,598,960. The tool runs in the browser, and the hand lasts only as long as the tab does, so copy the list if the class needs to keep it.

Frequently Asked Questions

What deck does the random card generator use?

A standard 52-card playing deck: Ace through King in spades, hearts, diamonds and clubs. That is the deck used for probability lessons and classroom games. Two jokers can be added, and they stay off unless you turn them on.

What does drawing without replacement mean?

The card leaves the deck and cannot appear again until you reshuffle. After the first card, 51 remain and each has a 1 in 51 chance. After five cards, 47 remain. The draws are not independent, because each one changes the deck.

Why is the draw limited to the cards left in the deck?

Without replacement, a card that has already been dealt is not available. The how-many box stops at the number still in the deck. When the deck is empty, Reshuffle puts all the cards back and shuffles them again.

What is drawing with replacement?

Each card is chosen from the full deck, and the next pick uses the full deck again. Repeats are allowed. On a 52-card deck the chance of any one card stays 1 in 52 on every draw.

How do I add the two jokers?

Tick Include 2 jokers. The tool adds a Red Joker and a Black Joker, then rebuilds and shuffles a 54-card deck. Untick the box to return to 52 cards.

How does the shuffle work?

The deck is ordered with a Fisher-Yates shuffle, which gives every possible ordering the same chance. Without replacement, cards are dealt from the top of that order. With replacement, each card is an independent pick from the full deck.

Can I copy the list of cards?

Yes. Copy list puts the current hand on your clipboard, numbered, one card per line, using the same rank-and-suit wording shown on the page, such as Ace of Hearts.

Is this for tarot, trading cards, or betting?

It is a standard playing deck for probability lessons and classroom games. It does not draw tarot cards, build trading-card decks, or give gambling advice.

Related Tools