Skip to content
PixelCursor(opens in a new tab)
Tools

Card Deck Simulator

Shuffle, draw and play with virtual decks of cards

Deck
  • Standard, 52 cards
  • With jokers, 54 cards
  • UNO, 108 cards
Draw
Mix
Deck52 left
Draw your first cardPress Space or tap the deck

Discard pile0 discarded

Your hand0 cards

Drawn cards land here.

Card back

Deck order

The deck from top to bottom. Shuffle, riffle or cut and watch the order change.

  1. 3♦
  2. A♦
  3. A♠
  4. 5♥
  5. K♦
  6. 7♥
  7. J♥
  8. A♥
  9. Q♠
  10. 2♥
  11. 9♠
  12. Q♣
  13. 3♠
  14. 8♥
  15. K♠
  16. 4♠
  17. 2♠
  18. 8♦
  19. 9♦
  20. 7♦
  21. 4♦
  22. 8♠
  23. 6♣
  24. 9♣
  25. J♠
  26. 8♣
  27. 7♣
  28. 3♥
  29. J♦
  30. 2♣
  31. A♣
  32. 4♣
  33. 10♥
  34. 6♠
  35. K♣
  36. 9♥
  37. 5♣
  38. 6♦
  39. 10♦
  40. 5♦
  41. K♥
  42. 5♠
  43. 2♦
  44. J♣
  45. 3♣
  46. Q♥
  47. 6♥
  48. 7♠
  49. Q♦
  50. 10♠
  51. 4♥
  52. 10♣
Rising sequences25Mixed1 is factory order, about 27 is well mixed
Perfect riffles in a row0 of 8After 8 perfect riffles this deck is back in the same order.

Try it: sort, then riffle 8 times.

Real riffles are sloppy. Bayer and Diaconis showed that about seven of them mix 52 cards well.

Build your own deck

Tap a card to add it, as often as you like, up to 300 cards. Tap a card in your deck to take it out again.

Start from

Your deck0 of 300

Still empty. Tap cards above or start from a preset.

About this tool

  • 52! orders

    52 cards can lie in about 8 × 10⁶⁷ different orders. A well shuffled deck is almost certainly in an order nobody has ever held.

  • Eight perfect riffles

    Cut 52 cards exactly in half and interleave them perfectly, top card staying on top: after eight of these riffles the deck is back in its starting order.

  • Fisher-Yates, really fair

    Shuffle walks up from the bottom card and swaps each one with a random card at or above it. With the browser's cryptographic random source every order is equally likely.