THE ORB STUDIO
Free FiveM tool

FiveM Script Converter

A FiveM script written for one framework will not run on another because the player, money and job APIs differ. This free tool parses the Lua, works out what each variable actually holds, and rewrites it for ESX, QBCore, Qbox or standalone, reporting anything it cannot convert safely.

Bought a script for the wrong framework? Drop the resource in and get it back running on ESX, QBCore, Qbox or standalone. It parses the Lua properly instead of finding and replacing text, so it knows the difference between the framework's player object and a table you wrote yourself. You get the converted resource, a line by line diff of every change, and a report of what could not be converted safely. Everything runs in your browser, so a paid script never leaves your machine.

Coming soonGet notifiedWe announce it in the Discord the day it opens.
FiveM Script Converter in use

How it works

  1. 1

    Drop in the resource

    Upload the folder or a zip. The whole resource is read locally in your browser, including the fxmanifest, so every script is classified as client, server or shared.

  2. 2

    Pick your target

    Universal bridge, native ESX, native QBCore, native Qbox or standalone. You also choose how dirty money works and whether missing database tables get created.

  3. 3

    Read the diff before you download

    Every change is shown side by side against your original. Comments and formatting are preserved, because the rewrite splices exact byte ranges instead of reprinting the file.

  4. 4

    Download and test

    Every generated file is parsed again before the download unlocks. If anything came back broken the download is blocked rather than handing you invalid Lua.

Features

A real Lua 5.4 parser

Full scope tracking and data flow, not regex. It follows the framework object through variables, function parameters and callbacks, and refuses to touch anything it cannot resolve confidently.

Closes the money duplication exploit

QBCore's RemoveMoney returns false when a player cannot pay. Scripts that ignore that hand over the item anyway. The converter adds the check and leaves the reason in the file.

Creates the tables the script needs

It reads every SQL query, works out which tables the resource expects, and writes the schema. Your framework's own tables are never generated from a guess.

Tells you when not to bother

A script that queries framework tables or resolves exports at runtime gets a low score and a plain explanation. Sometimes rebuilding is cheaper than converting, and the report says so.

Why not just find and replace

Search and replace cannot tell whether Player.Functions.AddMoney belongs to QBCore or to a table the author happened to call Player. It also cannot see that ESX writes onDuty while QBCore writes onduty, a one character difference that fails silently and reads every player as off duty. This converter builds a syntax tree, tracks what each variable actually holds through the scope chain, and only rewrites what it can prove. What it cannot prove, it leaves alone and reports.

  • Understands your code instead of pattern matching it
  • Preserves your comments, spacing and formatting
  • Every generated file is parsed again before you can download
  • Runs locally, so a paid script never leaves your machine

Frequently asked questions

Can it convert an ESX script to QBCore?

Yes, and the other way round, plus Qbox and standalone. The default output is a universal bridge that detects the framework at runtime, so the same resource runs on any of them.

Is the FiveM script converter free?

Yes, it is free for our Discord community. There is no install, no per script cost and no limit.

Does my script get uploaded anywhere?

No. The whole conversion runs in your browser. That matters here more than anywhere else on the site, because the scripts people convert are usually ones they paid for.

Will it work on an escrowed script?

No, and it will refuse rather than try. Cfx asset escrow encrypts the source, and converting it would mean breaking that protection. If you own the script, ask the seller for an unescrowed copy.

What happens to the database tables?

It reads the resource's SQL and writes the schema for the tables the script owns, either as a file you run or as a bootstrap that creates them on start. Framework tables like users and owned_vehicles are never created from a guess, because inventing a schema over your framework's real one would break it.

Does it handle ox_inventory and qb-inventory?

Yes. Inventory, targeting, notifications, progress bars, callbacks and database calls are all mapped, and the emitted bridge picks whichever provider your server actually runs.

What if it cannot convert something?

It says so. Anything it cannot map safely is left exactly as you wrote it and listed in the report with the file and line, so you know precisely what still needs a human.

More free FiveM tools

Built by THE ORB, for FiveM servers

These tools are free. When you want finished, supported resources for your server, our store has them.