DevTools Logo

EXIF GPS Map Reverser

EXIF GPS Map Reverser

Extract photo geolocation locally and visualize it on OpenStreetMap

Choose a JPEG photo

Privacy: this tool processes the image entirely client-side. The original photo and its metadata never leave your device. Only the generated map iframe contacts OpenStreetMap.

About

Parse JPEG APP1 EXIF metadata in the browser: TIFF endian detection, IFD0, ExifIFD, GPS latitude/longitude rationals, camera tags, capture time, and orientation. Privacy-first and deterministic.

Examples

Bare JPEG without EXIF

Input
parseExifGps(new Uint8Array([0xff, 0xd8, 0xff, 0xd9]).buffer)
Output
{ found: false, message: "No EXIF metadata found in this JPEG." }

A minimal SOI+EOI file has no APP1 segment, so the parser reports missing EXIF.

OSM embed link

Input
osmEmbedUrl(41.5, 72)
Output
"https://www.openstreetmap.org/export/embed.html?bbox=...&marker=41.5%2C72"

The URL carries the bounding box plus a marker pinned at the decimal coordinates.

About this tool

EXIF GPS Map Reverser parses JPEG APP1 metadata with parseExifGps(buffer) (alias parseExif): it walks JPEG markers to the Exif header, reads the TIFF IFD (both II little-endian and MM big-endian, tag 42 checked), and extracts make, model, dateTime, and orientation alongside GPS tags.

Coordinates decode from rational DMS triples: latitude tags pair degrees/minutes/seconds rationals with the N/S ref and longitude with E/W, so S and W negate the decimal value (41°30′00″ N becomes 41.5, S becomes −41.5) via degrees + minutes/60 + seconds/3600.

Map links come from osmEmbedUrl(latitude, longitude), which builds an OpenStreetMap embed URL with a ±0.01° bounding box and marker — all parsing is dependency-free and client-side, with clear messages for missing, truncated, or GPS-less EXIF.

How to use this tool

  1. Load a JPEG

    Pass the file's ArrayBuffer to parseExifGps — non-JPEG input reports No EXIF metadata found.

  2. Read coordinates

    Check found, latitude, and longitude; a message explains when GPS tags are absent.

  3. Embed the map

    Call osmEmbedUrl with the decimal coordinates for an iframe-ready OpenStreetMap URL.

Use cases

Recovering shoot locations

Pull GPS decimals out of camera JPEGs for cataloging trips and shoots.

Auditing location privacy

Check whether shared photos still carry coordinates before publishing.

Embedding photo maps

Drop extracted coordinates into an OpenStreetMap iframe on a gallery page.

Common mistakes

Mistake:Expecting coordinates from every JPEG.

Fix:Many files strip GPS — a found: true result can still carry null coordinates with a GPS unavailable message.

Mistake:Forgetting S/W refs negate the value.

Fix:Southern and western hemispheres return negative decimals; compare sign, not just magnitude.

Frequently asked questions

What does this tool do?

It extracts JPEG GPS coordinates and camera metadata with parseExifGps (alias parseExif) and builds map embeds with osmEmbedUrl.

Why are my coordinates negative?

S and W references negate the decimal value — 41°30′00″ S parses as −41.5 while N parses as 41.5.

Is my photo uploaded or stored?

No. Marker walking, TIFF parsing (II and MM byte orders), and URL building run fully client-side.

Why is GPS missing but EXIF found?

Many files keep make/model tags while stripping GPS — you get found: true with null coordinates and a GPS unavailable message.

References & standards

.env Secret Safety Linter

Validate .env syntax and spot likely leaked credentials or placeholder secrets.

.htaccess Generator

Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

2D Fluid Dynamics & Particle Physics Sandbox

A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

AI Function Calling Schema Generator

Generate function calling JSON schemas from TypeScript interfaces

Algorithm Arena & Data Structure Visualizer

Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

Ansible Playbook Generator

Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML