A quiet new obfuscator for Lua

Obfuscate Lua.Quietly. Beautifully.

Cosmic Obfuscator protects your Lua source with a virtual machine, string encryption, identifier renaming, and constant obfuscation — all wrapped in a calm, starlit interface.

Virtual machine

Wrap your program in a tiny opcode VM that's awkward to read and harder to lift.

String encryption

XOR-encoded UTF-8 string pools with a per-job key and a runtime decoder.

Identifier renaming

Locals become hex symbols like _0xA3F1 — your variable intent disappears.

Before & after

Your Lua.lua
local function greet(name)
  local message = "Hello, " .. name
  print(message)
end
greet("world")
Cosmic output.lua
local __k = 137
local function __d(t) --[[ decoder ]] end
local __S = { {200,201,212,...}, {198,201,...} }
local function _0x4F2A(_0x9C11)
  local _0x71BE = __d(__S[1]) .. _0x9C11
  print(_0x71BE)
end
_0x4F2A(__d(__S[2]))

Illustrative. The dashboard runs the real transforms on your code.

Sign in to obfuscate

History stays attached to your account so you can re-download yesterday's build.

Get started