India PIN Code Validator

Instantly check whether an Indian PIN code is structurally valid.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

India uses a six-digit Postal Index Number (PIN) to route every piece of mail and parcel across its 1.4 billion-person network of post offices. Introduced on 15 August 1972 — India’s 25th Independence Day — the system replaced a chaotic patchwork of regional codes and handwritten sorting. Today India Post operates more than 150,000 post offices, each with its own unique PIN, making it the largest postal network in the world by number of offices.

Developers, logistics teams, e-commerce platforms, and address-form designers all need to validate PIN codes before storing or using them. A malformed PIN code can silently route a shipment to the wrong sorting hub, trigger payment failures when an address check rejects it, or break an API call downstream. This validator catches those errors instantly, on the client side, without any network round-trip.

How the validation algorithm works

A valid India PIN code satisfies three structural rules:

Rule 1 — Exactly 6 digits. The code must be precisely six decimal digits, nothing more, nothing less. Spaces and hyphens are stripped before checking so that “110 001” and “110-001” both work.

Rule 2 — Valid postal zone (digit 1). India Post divides the country into eight postal zones, numbered 1 through 8. Zone 1 anchors the north (Delhi, Punjab, Haryana). Zone 8 covers the east (Bihar, Jharkhand, Assam, Andaman). Digits 0 and 9 are unassigned — any PIN starting with 0 or 9 is structurally invalid.

Rule 3 — Valid sub-zone (digit 2). Within zone 1, the sub-zone digit cannot be 0 because no “10xxxx” range exists in the live allocation. All other zone/sub-zone combinations (20xxxx through 89xxxx) are structurally plausible.

Digits 3 through 6 carry the sorting district and delivery office identifiers. These are not independently checkable without the full India Post database, so the validator reports them as informational fields rather than pass/fail checks.

Worked example

Consider 110 001 — the PIN for New Delhi GPO (General Post Office):

  • Digit 1 = 1 — Zone 1: Delhi / Haryana / Punjab / HP / J&K. Valid.
  • Digit 2 = 1 — Sub-zone 1 within zone 1. Valid.
  • Digit 3 = 0 — Sorting district 0.
  • Digits 4-6 = 001 — Delivery office 001 (the GPO itself).
  • Result: structurally valid.

Now consider 099999:

  • Digit 1 = 0 — Zone 0 does not exist. Invalid.

And 100000:

  • Digit 1 = 1 — Zone 1. Valid.
  • Digit 2 = 0 — Sub-zone 0 within zone 1 is unassigned. Invalid.
PINFirst digitSecond digitVerdict
1100011 (Zone 1)1 (valid sub-zone)Valid
4000014 (Zone 4)0 (valid sub-zone in zone 4)Valid
6000016 (Zone 6)0 (valid sub-zone in zone 6)Valid
0999990 (unassigned)Invalid
1000001 (Zone 1)0 (unassigned in zone 1)Invalid
91234too shortInvalid

Every check runs locally in your browser — nothing is uploaded.

Ad placeholder (rectangle)