whereparcel

Stuck on integration? Have a question? The developer is standing by.

Free Tool

Tracking Number Validator

Paste any tracking number and we'll detect which carrier format it matches. Works for USPS, UPS, FedEx, DHL, OnTrac, UPU S10, and dozens more. 100% client-side — your input never leaves your browser.

Try a sample:

How accurate is auto-detection?

Tracking-number-only detection is not 100% reliable. Here's the honest reality:

  • Confirmed cases (UPS 1Z, OnTrac D, USPS Priority 9400, UPU S10 EE…US) — alphanumeric prefixes or fixed-length+prefix combinations make these uniquely identifiable.
  • Ambiguous cases (12-digit numeric, 10-digit numeric) — multiple carriers use the same shape (FedEx, Yamato, Sagawa, etc.). The number alone can't disambiguate.
  • Resolution paths: provide the origin country, ask the recipient, or send the number to POST /v2/detect with your API key — it returns every matching carrier with a specificityScore, so you can track the most specific one first.

What this tool actually does

We run your input through every supported carrier's regex pattern (defined in our open carrier catalog) and return the candidates ranked by specificity — narrower patterns (more literal characters, fixed lengths) come first because they're more likely the right match.

For a deeper dive into how tracking number formats work, see:

Want to use this in production?

This page is a free client-side tool. For programmatic access, our API offers the same detection plus actual tracking:

  • POST /v2/detect — same logic, server-side. Free (no quota usage).
  • POST /v2/track — once you know the carrier, fetch real-time tracking events. Counts against your plan.

See the 5-minute setup guide or jump straight to the API documentation.

FAQ

How accurate is tracking number auto-detection?
It depends on the format. Carriers with unique alphanumeric prefixes (UPS 1Z, OnTrac D, USPS Priority 9400, UPU S10 EE…US) are uniquely identifiable. Plain numeric formats (12-digit, 10-digit) are ambiguous because multiple carriers (FedEx, Yamato, Sagawa, CJ Logistics) share the same shape — the number alone cannot disambiguate.
Does this tool send my tracking number to a server?
No. The validator runs 100% in your browser. Your tracking number never leaves your device.
Can I use this carrier detection in my own application?
Yes. WhereParcel exposes the same detection logic as a free server-side endpoint, POST /v2/detect. It does not count against your tracking quota.