Country format

India Address Format Guide

Indian addresses can include building names, flat numbers, street names, locality, city, state, and a six-digit PIN code. Forms should allow more address lines than a simple street/city/postcode model.

Common layout

Aarav Sharma
Flat 402, Green Heights
MG Road, Indiranagar
Bengaluru, Karnataka 560038
India

Fields to support

QA notes

Test multiple address lines, long locality names, six-digit PIN codes, state dropdown behavior, and CSV exports that preserve line breaks and commas.

Field mapping

ContentSuggested fieldQA risk
Flat 402, Green HeightsBuilding / Line 1Comma must be quoted in CSV
MG Road, IndiranagarStreet and localityDo not discard locality as duplicate city data
BengaluruCityAllow current and legacy place-name variants
KarnatakaStateCountry switch should load Indian states
560038PIN code stringRequire six characters without testing deliverability

Regression cases

India Post describes PIN codes and postal services on its official website. Generated examples are not India Post-validated addresses.

Locality hierarchy test

Indian addresses may use a building or house, street, neighborhood, landmark, locality, district, city, state, and PIN code, but not every record needs every layer. Test the hierarchy without collapsing all place information into a single city value.

InputStore asFailure signal
IndiranagarNeighborhood or dependent localityIt overwrites Bengaluru.
BengaluruCity / localityIt is replaced by the district or state.
KarnatakaAdministrative areaA U.S.-only state abbreviation is required.
560038PIN code stringThe value is parsed as a number or reformatted.

For a reproducible regression, submit the record with Address Line 2 empty, then repeat with a landmark in that field. Both versions should save successfully, and the landmark should remain optional rather than becoming part of postal-code validation. A six-digit shape check is useful for input feedback but does not prove delivery coverage.