Cosmic Obfuscator

A powerful Lua obfuscator with VM-based protection. Encrypt your scripts among the stars with renaming, string encryption and a virtual machine layer.

Identifier Renaming

Scope-aware renaming of local variables, functions and parameters while preserving globals.

String Encryption

XOR-encoded string literals with runtime decoder stubs so your strings stay hidden.

VM Protection

Stack & register virtual machines with debug, normal and maximum protection levels.

Protection Levels

Debug

Readable output with named opcodes for development.

Normal

Shuffled opcodes, encoded constants, flattened control flow.

Maximum

Full polymorphic dispatch & compressed bytecode.