/docs
api docs.
post https://api.lua.expert/decompile
application/json
decompiled luau
100 requests / minute
request body
send one json field named script
containing the base64-encoded luauc file contents.
{
"script": "<base64-encoded-luauc>"
}
response
successful requests return decompiled luau as plain text.
-- https://lua.expert/
print('lua.expert')
example request (js)
an example of how to use the decompilation api.
const response = await fetch(
'https://api.lua.expert/decompile',
{
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({
script: bytecodeBase64,
}),
},
)
const luaSource = await response.text()