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.
FiveM server hosting from XGamingServer — instant setup, DDoS protection, mod support, and 24/7 help. 30% off your first month.
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
Vehicle Database
All 764 GTA V / FiveM vehicles — top speed, drive force, brake, mass, gears, steering lock, handling class, FWD/RWD/AWD
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
Ped Model Database
860 GTA V / FiveM ped models — animals, cutscene characters, story NPCs, multiplayer, ambient + service males/females. JOAAT hash for each, ready for SetPlayerModel.
Weapons Database
Every GTA V / FiveM weapon — model name, JOAAT hash (signed/unsigned/hex), damage, ammo type, class, DLC. Copy hashes for GiveWeaponToPed.
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.

Ready to play?
Run your own FiveM server with XGamingServer
Instant setup, mods & plugins, DDoS protection and 24/7 human support — your server is live in minutes, no port-forwarding required.
Pick your plan
See all plans
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.