IJM
File ToolsImage Tools

CSS Sprite Sheet & Coordinates Generator

Pack multiple icon/sprite images into a horizontal PNG sprite sheet and generate matching CSS background-position classes.

Processed in browserNo upload

Guide · File Tools / Image Tools

About CSS Sprite Sheet & Coordinates Generator

Pack multiple uploaded icon images horizontally into a single PNG sprite sheet and generate matching CSS `background-position` coordinates.

When to use this tool

Handy for retro canvas games, legacy email icons, or bundling UI badges into one image request.

How to use CSS Sprite Sheet & Coordinates Generator

  1. Upload two or more icon PNG/SVG images.
  2. Set Icon Padding (px) between tiles.
  3. Download the combined sprite-sheet PNG and copy the generated CSS classes.

Supported inputs, options, and outputs

  • Inputs: Multiple image files and pixel padding.
  • Outputs: Combined horizontal PNG sprite sheet plus ready-to-paste CSS `.sprite-*` classes.

Accuracy notes and limitations

  • Packs icons along a single horizontal strip using source heights rather than 2D bin-packing.
  • Class names derive from uploaded filenames cleanly sanitized to CSS identifiers.

Privacy and browser processing

Images, PCM WAV audio, video frames, and subtitle files are decoded and rendered inside local browser memory (Canvas, Image, Web Audio/PCM DataView, and HTMLVideoElement)—no media uploads leave your device. Hosted pages load cookie-free analytics and Google Fonts.

Read the full IJM Privacy Policy or browse all File Tools.

Related Tools

Ranked by matching inputs, outputs, and workflow compatibility

View all 96 in File Tools →