# Redact GPS coordinates

> Redact latitude and longitude pairs from delivery records, field-service notes, and mobile telemetry.

Canonical: https://bitbanger.in/entities/gps-coordinates
Last updated: 2026-10-27

Category: Location data · Entity type: `location.gps_coordinates`

Coordinates are the most precise location data there is: six decimal places locates a doorway. They are also bare numbers that no model can identify without a pattern.

## How Redactly detects GPS coordinates

- Matched by regex for a decimal latitude and longitude pair separated by a comma.
- Signs are optional, so southern and western coordinates match too.
- Runs independently of the model, so coordinates in an otherwise empty field are still found.

## Why redact GPS coordinates?

Precise coordinates can locate a person's home or workplace to within metres.

## Example request

```bash
curl -X POST https://api.bitbanger.in/v1/redact \
  -H "X-API-Key: rdct_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text": "Drop point 51.507351, -0.127758 confirmed by driver.", "style": "replace"}'
```

## FAQ

**Does Redactly redact GPS coordinates automatically?**

Yes. Send text to the API and every detected type is redacted, including GPS coordinates. To redact only this type, pass the value location.gps_coordinates in the entities filter. No training or configuration is required.

**What happens to GPS coordinates after redaction?**

With style set to replace, each match becomes [location.gps_coordinates] — the entity type in square brackets. Setting style to mask replaces every character with a block character, and remove deletes the span entirely.

## Related entity types

- [Street addresses](https://bitbanger.in/entities/address) — Redact postal addresses from free text and structured payloads, including partial street names the model only half-captures.
- [Postal codes](https://bitbanger.in/entities/postal-code) — Redact ZIP and postcode values in US 5-digit, ZIP+4, and UK formats from text and tabular data.
- [Person names](https://bitbanger.in/entities/person-name) — Redact personal names from free text, including partial names the model only half-captures.

Try it on your own text: https://bitbanger.in/entities/gps-coordinates
