India LGD Index

See India's states and union territories with their Local Government Directory (LGD) codes and Census 2011 codes. Useful for developers and analysts who need to match official codes to place names.

The pre-filled example lists all 36 states and union territories.

What it's useful for

  • Look up the official LGD code for a state when joining government datasets.
  • Map LGD codes to Census 2011 codes for older statistical data.
  • Fill a state dropdown in a form with names and codes.
  • Find the local-language spelling of a state's name.

Frequently asked questions

What is an LGD code?

The Local Government Directory, kept by India's Ministry of Panchayati Raj, gives every state, district, sub-district and village a unique code that government datasets use.

What does the Type column mean?

S marks a state and U a union territory, as returned by the service.

Where does the data come from?

From the India LGD Index API, which mirrors the Ministry of Panchayati Raj's Local Government Directory and states the licence as GODL-India, with attribution required.

Why are some local names in capitals and others in Devanagari or other scripts?

The directory stores the local name as recorded, so some entries are in capital Latin letters and some in the state's own script.

Does this page show districts and blocks too?

This page lists states and territories only. The API's documentation describes districts, sub-districts and development blocks for use in your own code.

About this data

  • Data comes from a free third-party service (india-lgd-index-api.vercel.app). We pass your request through our server so your browser never contacts it directly.
  • Service limit: 100 requests per 15 minutes per IP. If it's reached, this page tells you how long to wait.
  • Terms: Keyless, CORS open; data licence GODL-India (Government Open Data License, permits reuse with attribution).
  • The service can change or go offline without notice, and we can't vouch for the accuracy of what it returns.
  • Official documentation

More in Government & Public Data