Lua Minifier / Formatter

Optimize your Lua scripts by minifying for performance or formatting for readability—all processed locally in your browser for Maximum Privacy.

Performance Minification

Minifying scripts reduces file size by removing all comments and whitespace. This is essential for production environments like FiveM or Roblox where script execution speed and network bandwidth are critical.

Code Beautification

Our tool reconstructs the indentation of messy code. It handles nested tables, loops, and function scopes, making complex scripts readable and easier to debug without changing the logic.

Technical Architecture: This tool utilizes a Zero-Server Policy. Your code is processed entirely within your browser memory using an internal luamin engine.
Updates
Version 1.1 Update: Now powered by a professional AST (Abstract Syntax Tree) engine. This upgrade introduces Smart Minification for complex metatables, Pro-Formatting with deep scope tracking, and real-time Syntax Validation—all processed locally for maximum privacy.

Did this tool work as expected?