Free Texture Packer icon

Free Texture Packer

Standard softwareFOSS · MIT

MIT open-source sprite sheet & JSON atlas packer (Web/CLI)

Free (MIT) · odrick · Standard software workflow; Steam AI disclosure does not apply.

AI
Standard
IP
Commercial-Safe IP
Engines
Web / JS, Godot, Unity
Platforms
Windows · macOS · Linux · Web · CLI
Version
0.6.7
Technical Summary

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 DimensionFree Texture Packer AdvantageLimitation / When to Swap
CI/CD & Web ToolingMIT Node.js CLI and Vite/Webpack plugins run unrestricted in cloud CI pipelines at $0Crops strictly to rectangular quads; lacks tight polygon mesh trimming for GPU overdraw reduction
Custom Engine SchemasBuilt-in Mustache templating outputs arbitrary custom JSON, XML, Lua, or C header layoutsDoes not pack synchronized Albedo + Normal map pairs for 2D dynamic lighting
Zero-Install AccessRuns directly in any browser with local client-side processing and zero watermarksOutputs standard PNG/JPG containers rather than hardware BC7, ASTC, or KTX2 compressed textures

AI Transparency & Steam Disclosure

Standard Software

Procedural math, physics, or manual authoring software.

Steamworks guidance: Standard software workflow; Steam AI disclosure does not apply.

Technical FAQ about Free Texture Packer

When is Free Texture Packer enough vs. upgrading to CodeAndWeb TexturePacker?
Free Texture Packer covers 90% of 2D pixel-art, HTML5 (Phaser/PixiJS), LÖVE, Defold, and indie Godot/Unity workflows needing rectangular MaxRects packing, frame deduplication, and edge extrusion. Upgrade to CodeAndWeb TexturePacker only if you need tight polygon mesh trimming, synced normal-map atlases, or direct ASTC/BC7 KTX2 encoding.
Can Free Texture Packer run automatically in GitHub Actions or Vite builds?
Yes. Because free-tex-packer-core and free-tex-packer-cli are MIT-licensed npm packages, you can invoke them directly inside package.json build scripts, Vite or Webpack asset bundlers, and headless GitHub Actions Linux or Docker runners with zero license keys, seat activations, or build-server surcharges.
How do I import Free Texture Packer sheets into Godot 4?
Export using the Godot AtlasTexture / JSON preset or pair Free Texture Packer's JSON Array output with a lightweight EditorImportPlugin that generates .tres AtlasTexture resources per frame, preserving trimmed margin offsets so AnimatedSprite2D pivots remain centered.

More tools like Free Texture Packer