Lua obfuscator
Paste up to 5 KB of Lua for FiveM, Garry's Mod, Roblox or LÖVE. Get it back unreadable, still running.
- No account
- Prometheus inside
- Nothing stored
For your own code. Don't paste secrets: obfuscated code can still be read by someone determined. Snippets aren't stored. 10 runs a day per network. Terms
Whole FiveM resources, stronger presets and license keys run in a free account.Create one
What obfuscation does, and what it doesn't
It does
- Make your code slow and painful to read, copy or edit
- Hide strings like messages, URLs and event names from a quick search
- Stop casual resellers from rebranding your work
It doesn't
- Stop someone sharing the file: anyone with a copy can run it
- Keep a secret safe: never put API keys or passwords in code you ship
- Make code impossible to reverse: it raises the effort, that's all
To stop sharing, check a license key when your script starts. Learn how
Questions, answered
Does the obfuscated Lua still run?
Yes. It's plain Lua for the target you chose (Lua 5.1 or LuaU), with the same behaviour. Test it in your game before you ship it, as with any build.
Which obfuscator does it use?
Prometheus, the open-source Lua obfuscator, with strings encrypted, constants moved into a shuffled array, numbers turned into expressions and names mangled. The dashboard offers its stronger presets too.
Do you keep my code?
No. Your snippet is held in memory only while it's obfuscated and never written to disk or logs. Don't paste secrets anyway: obfuscated code can still be read by someone determined.
Can I obfuscate a whole FiveM resource?
Yes, with a free account: upload the resource as a zip and SunLicense obfuscates the scripts its manifest lists, leaving the manifest, NUI files and streams as they are. The Free plan includes 3 obfuscation runs a month.
Why only 5 KB, and 10 runs a day?
So the free tool stays fast for everyone. Whole files and resources run in your SunLicense account.
Lua obfuscation by Prometheus (Elias Oelschner), used under the Prometheus License. How the free tools work
SunLicense