Sprite Sheet Generator
Combine multiple images into a single sprite sheet PNG. Arrange in horizontal, vertical, or grid layout with custom spacing. Includes CSS preview.
Sprite Sheet Generator
Sprite Sheet Generator combines multiple images into a single PNG sprite sheet. Arrange them horizontally, vertically, or in a grid with custom spacing.
How to Generate a Sprite Sheet
- Upload two or more images by dragging and dropping or clicking to browse.
- Choose a layout (horizontal, vertical, or grid) and adjust spacing.
- Click Generate to create your sprite sheet and get the CSS code.
Frequently Asked Questions
Got questions about sprite sheets? We've got answers.
What is a sprite sheet?
A sprite sheet is a single image file that contains multiple smaller images arranged in a grid. It's commonly used in web development to reduce HTTP requests.
How many images can I combine?
You can combine as many images as your browser can handle. For optimal performance, we recommend up to 100 images.
Is this tool safe to use?
Yes, 100%. All processing happens in your browser via Web Workers. Your images never leave your device.
Automated E2E Test Suite Logs
Our build systems validate edge-case processing under extreme conditions before each deployment.
Tool Changelog & Updates
- Feature: Added comprehensive Vitest test suite covering Tool rendering, worker operations, and shared operation logic — all 871 image tests passing.
- Fix: Fixed OffscreenCanvas mock patterns in tests for proper constructor instantiation.
- Feature: Initial release with sprite sheet generation — combine multiple images into a single PNG with horizontal, vertical, or grid layout.
- UX: Multi-file upload with preview, configurable margin and padding between sprites.
- UX: CSS preview output showing background-position for each sprite element.
- Security: Web Worker isolation ensures zero data uploads — all processing stays in the browser.