FiveM Vector3 / Coordinates Tool
Free FiveM coordinates tool. Convert between vector3, vector4, Lua table, JSON and C# Vector3, and calculate distance, heading and midpoint between two points.
Paste any format — vector3(x,y,z), x, y, z, {x=,y=,z=}, JSON. Numbers are auto-detected.
vector3(3, -275.34, 6635.5)vector4(3, -275.34, 6635.5, 7.42){ x = 3, y = -275.34, z = 6635.5 }{ "x": 3, "y": -275.34, "z": 6635.5, "w": 7.42 }new Vector3(3f, -275.34f, 6635.5f)3, -275.34, 6635.5Distance, heading & midpoint
3.5, -656.17, 1949.25Working with FiveM Coordinates
FiveM scripting lives and dies on coordinates. Spawns, markers, blips, jobs, MLO entrances and teleports all take a vector3 (or vector4 with a heading). This tool parses any common format you paste — vector3(x, y, z), a raw x, y, z list, a Lua table {x=, y=, z=}, or JSON — and outputs every format you might need, ready to copy.
It also handles the maths you'd otherwise do by hand: the 3D distance and flat 2D (x/y) distance between two points, the heading to face from point A toward point B (GTA's 0 = North convention), and the midpoint. Useful for placing markers, checking interaction ranges, or aiming a ped at a target.
Everything runs in your browser — paste coordinates from your script or from an in-game /coords command and convert instantly.
FiveM Vector3 / Coordinates Tool — FAQ
What coordinate formats does this tool accept?
Any common FiveM format — vector3(x, y, z), vector4(x, y, z, w), a raw x, y, z list, a Lua table {x=, y=, z=}, or JSON. It auto-detects the numbers in order, so you can paste straight from your script or an in-game /coords output.
How is heading calculated between two points?
It uses GTA's convention where 0 degrees faces North (+Y) and increases counter-clockwise. The tool computes the heading to face from point A toward point B, which you can pass to SetEntityHeading or a spawn.
What's the difference between 3D and 2D distance?
3D distance includes the Z (height) difference; 2D distance only uses X and Y (ground plane). Use 2D when height shouldn't count — e.g. checking if a player is within range of a marker regardless of floor.
You might also need
Server Config Generator
Generate a complete server.cfg for your FiveM server — hostname, OneSync, game build, framework (QBCore, QBox, ESX), security, pure level, RCON, custom resources
ACE Permissions Builder
Build FiveM add_ace and add_principal permission blocks — admin/mod/helper groups, members by license/steam ID, command ACEs, txAdmin roles
fxmanifest.lua Builder
Generate the fxmanifest.lua for a FiveM / RedM resource — fx_version, game, scripts, NUI, dependencies, Lua 5.4 — copy + download ready
JOAAT Hash Generator
Convert any FiveM entity name to its signed + unsigned + hex JOAAT hash — the hash GetHashKey() and CreateVehicle() expect. Batch mode included.
FiveM server admin docs
Read the full FiveM server docs →
Step-by-step guides for installing mods, configuring your server, joining, troubleshooting, and admin commands.

FiveM Server Hosting
Get managed FiveM server hosting with this tool built into your panel — configure, deploy, and play in minutes. Instant setup, DDoS protection, 24/7 support.