Open source playing card images in PNG and SVG formats. Free to use for any project!
🌐 Live Demo: https://webisso.github.io/playing-cards/
- 54 playing cards (52 standard cards + 2 jokers)
- PNG format - High quality raster images
- SVG format - Scalable vector graphics
- JSON API - Easy integration with your projects
Access any card directly via GitHub Pages:
https://webisso.github.io/playing-cards/png/{card_name}.png
https://webisso.github.io/playing-cards/svg/{card_name}.svg
<!-- PNG -->
<img src="https://webisso.github.io/playing-cards/png/ace_of_spades.png" alt="Ace of Spades">
<!-- SVG -->
<img src="https://webisso.github.io/playing-cards/svg/ace_of_spades.svg" alt="Ace of Spades">Fetch the card data programmatically:
fetch('https://webisso.github.io/playing-cards/cards.json')
.then(response => response.json())
.then(data => {
console.log(data.cards.spades.ace);
});playing-cards/
├── png/ # PNG images
│ ├── ace_of_clubs.png
│ ├── ace_of_diamonds.png
│ ├── ace_of_hearts.png
│ ├── ace_of_spades.png
│ ├── 2_of_clubs.png
│ ├── ...
│ ├── king_of_spades.png
│ ├── black_joker.png
│ └── red_joker.png
├── svg/ # SVG images
│ ├── ace_of_clubs.svg
│ ├── ...
│ └── red_joker.svg
├── cards.json # JSON data for all cards
├── index.html # GitHub Pages landing page
├── LICENSE # MIT License
└── README.md # This file
Cards follow this naming pattern:
- Number cards:
{number}_of_{suit}.{ext}(e.g.,2_of_hearts.png) - Face cards:
{face}_of_{suit}.{ext}(e.g.,king_of_spades.svg) - Aces:
ace_of_{suit}.{ext}(e.g.,ace_of_diamonds.png) - Jokers:
{color}_joker.{ext}(e.g.,black_joker.svg,red_joker.png)
clubs♣️ diamonds♦️ hearts♥️ spades♠️
ace,2,3,4,5,6,7,8,9,10,jack,queen,king
This README is available in multiple languages:
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Feel free to:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
If you find this project useful, please consider giving it a star on GitHub!
Made with