Free Texture Packer is a 100% MIT open-source sprite sheet and JSON/XML atlas packer by odrick for Web, Windows, macOS, Linux, and Node.js CLI. Using MaxRects bin-packing with rotation, alpha trimming, and edge extrusion, it exports royalty-free atlases for Phaser, PixiJS, Godot, Unity, Defold, and LÖVE.
Technical Overview
Architecture and Production Workflow
Free Texture Packer (v0.6.7) is built around a portable JavaScript packing engine (free-tex-packer-core) wrapped as an offline Electron desktop GUI, an instant client-side browser app (free-tex-packer.com), and headless Node.js build plugins (free-tex-packer-cli, Webpack, Vite, and Gulp integrations). It arranges loose PNG/JPG sprite frames using configurable MaxRects bin-packing heuristics (BestShortSideFit, BestLongSideFit, BestAreaFit, and BottomLeftRule) while enforcing power-of-two (POT), square, or multi-atlas page splitting constraints (such as capping sheets at 2048x2048 or 4096x4096).
Core pipeline optimizations include:
- Deduplication & Trimming: Crops transparent alpha margins while storing original pivot/source-size offsets, rotates frames 90 degrees when supported by the target engine, and aliases identical duplicate animation frames (
detectIdentical) to a single atlas region. - Bleed Prevention: Applies configurable border padding and edge pixel extrusion (
extrude) so tilemaps and scaled UI sprites avoid neighbor-texel bleeding. - Custom Mustache Exporters: Ships built-in presets for Phaser 3, PixiJS, Unity, Godot, Starling, Cocos2d, CSS sprites, and generic JSON Hash/Array, plus a Mustache template engine to emit custom C++, Rust, or Lua metadata formats.
Pricing, Licensing, and Commercial Rights
Every component of Free Texture Packer (desktop app, web app, core library, and CLI) is released under the MIT License at $0. Unlike commercial packers that watermark free builds or charge extra for build-server seats, teams can execute free-tex-packer-cli across unlimited developer machines, Docker containers, and GitHub Actions CI runners for commercial Steam, console, mobile, and web titles with zero royalties.
Strengths and Tradeoffs in Studio Pipelines
| Pipeline Dimension | Free Texture Packer Advantage | Limitation / When to Swap |
|---|---|---|
| CI/CD & Web Tooling | MIT Node.js CLI and Vite/Webpack plugins run unrestricted in cloud CI pipelines at $0 | Crops strictly to rectangular quads; lacks tight polygon mesh trimming for GPU overdraw reduction |
| Custom Engine Schemas | Built-in Mustache templating outputs arbitrary custom JSON, XML, Lua, or C header layouts | Does not pack synchronized Albedo + Normal map pairs for 2D dynamic lighting |
| Zero-Install Access | Runs directly in any browser with local client-side processing and zero watermarks | Outputs standard PNG/JPG containers rather than hardware BC7, ASTC, or KTX2 compressed textures |
AI Transparency & Steam Disclosure
Standard SoftwareProcedural math, physics, or manual authoring software.
Steamworks guidance: Standard software workflow; Steam AI disclosure does not apply.