Check up to 2,000 UK postcodes (or 2021 E01 LSOA codes) in a single batch with zero login, zero dropped rows (N_out = N_in), built-in Median & IQR cohort analytics, and OWASP CSV formula-injection sanitisation — exporting your original spreadsheet columns alongside 46 official MHCLG IoD2025 v2 columns (Small_Area_2021_Code, Deciles 1–10, Quintiles, IMD_2025_D1_D2_Flag, raw IMD_2025_Score, all 7 domain ranks/deciles, raw IDACI_Children_Score_Pct & IDAOPI_Older_Score_Pct scores, ONS PQI 1–9, and IMD 2019 continuity).
Four IG-Safe Ways to Run a Bulk IMD 2025 Lookup (Including 100% Zero-Postcode-Transmission Mode)
Under UK GDPR and NHS Information Governance (IG), unit postcodes can act as indirect identifiers when linked to pupil, patient, or charity beneficiary cohorts. Choose the workflow matching your DPO / IG policy:
- Zero-API Local
ONSPDCSV Join Mode (Strict Zero Postcode Transmission · Up to 2,000 Rows): Click Zero-API Local ONSPD CSV (Optional) above to load your local ONSONSPD/NSPLpostcode-to-lsoa21CSV into browser RAM, then load your student/patient/beneficiary CSV. Zero postcodes are transmitted toapi.postcodes.ioor any external server (verifiable in browser DevTools Network tab). - Zero-API Direct
E01LSOA Mode (Strict NHS / School Warehouse IG): Map postcodes to2021 E01 LSOAcodes inside your internal SQL/warehouse first, then paste up to 2,000E01codes above (0external postcode API calls). - Convenience Browser-Isolated
Postcodes.ioMode (Public / Venue Lists up to 2,000 Rows): Personal CSV columns stay 100% in HTML5FileReadermemory; you can select which column holds the postcode via the Postcode Column selector, and only deduplicated bare postcodes query open-sourceapi.postcodes.io. Click Clear Browser Memory at any time to wipe RAM. - Air-Gapped Desktop Power Query (
M), Python (pandas), R (dplyr) or DuckDB/SQL Mode: Use the copy-ready scripts below offline against ONSONSPD+ONSUD/NSUL+ MHCLGFile 7 v2.
Built-In Cohort Summary Statistics (Median & IQR, Dual Denominators & ZZ99 Audit)
- Why
Median & IQR (P25–P75)Beats Arithmetic Means: BecauseIMD_2025_Rank_of_33755is ordinal andIDACIscores are skewed, our KPI cards and.txtCohort Summary compute Median & Interquartile Range (IQR) for both IMD 2025 Rank and IDACI Child Poverty Score (%) alongside Unique 2021 LSOAs (detecting geographic clustering when multiple pupils/patients share one postcode). - Granular ONS & NHS Exception Codes (Never Silently Dropped): Preserves duplicate rows (
10 pupils at 1 postcode = 10 cohort observations) and flagsMISSING_POSTCODE(blanks,N/A,NULL,Unknown),SPECIAL_POSTCODE_NHS_ZZ99(ZZ99 3VZno fixed abode /ZZ99overseas visitor in NHS HES/SUS),NON_GEOGRAPHIC(BX,BFPO,GIR 0AA),NON_GEOGRAPHIC_PQI6_PO_BOX,OUT_OF_SCOPE(SIMD,WIMD 2025,NIMDM,GY/JE/IM),NOT_IN_ONSPD_OR_TERMINATED, andINVALID_FORMAT— exportable separately via Filter Cohort → Exceptions & Out-of-Scope Only.
UK Schools & Multi-Academy Trusts (MATs): IDACI 2025 vs Pupil Premium (FSM6), 2026–27 NFF & Ofsted IDSR
Schools and MATs face a statutory vintage split in 2026–27: Ofsted's IDSR (updated 13 Nov 2026) uses IDACI 2025 (2021 LSOA, 33,755 areas), whereas the DfE 2026–27 Schools Block NFF (Technical Note paras 3.20–3.23) still uses IDACI 2019 (2011 LSOA, 32,844 areas) because IoD2025 arrived on 30 Oct 2025 — just 20 days before DfE published the 19 Nov 2025 NFF tables modelled on the Oct 2024 census, Authority Proforma Tool (APT), and Minimum Funding Guarantee (MFG):
| NFF IDACI Band | Share of England | Official IDACI 2019 Rank (32,844 LSOA11) |
Indicative IDACI 2025 Rank (33,755 LSOA21) |
2026–27 NFF Primary / Secondary Unit Rate |
|---|---|---|---|---|
| Band A (Most deprived) | Top 2.5% |
1 – 821 |
1 – 844 |
£700 / £970 |
| Band B | Next 5.0% |
822 – 2,463 |
845 – 2,532 |
£530 / £760 |
| Band C | Next 5.0% |
2,464 – 4,105 |
2,533 – 4,219 |
£500 / £710 |
| Band D | Next 5.0% |
4,106 – 5,747 |
4,220 – 5,907 |
£455 / £650 |
| Band E | Next 10.0% |
5,748 – 9,032 |
5,908 – 9,283 |
£290 / £460 |
| Band F | Next 10.0% (37.5% cutoff) |
9,033 – 12,316 |
9,284 – 12,658 |
£240 / £345 |
| Band G (Unfunded) | Remaining 62.5% |
12,317 – 32,844 |
12,659 – 33,755 |
£0 / £0 (never assign missing postcodes to Band G!) |
- Ofsted IDSR Location Quintile vs Pupil-Base SD Rule: Mainstream IDSR reports School Location in quintiles (
1–5) using the GIAS school postcode's2021 LSOA, whereas Pupil-Base Deprivation (meanIDACI 2025score across on-roll pupils) is classified by standard deviations (SD) vs same-phase national schools (Well above average > +1 SD,Above average +0.5 to +1 SD,Close to average ±0.5 SD,Below average -0.5 to -1 SD,Well below average < -1 SD) — not equal national quintiles. Pupil Premium (FSM6)×IDACI 2025& UK GDPR (UPNStripping): IndividualFSM6(GIAP/ Oct census) ≠ neighbourhoodIDACI 2025; cross-tabulating both identifies Working-Poor / Unclaimed FSM (Non-FSM6inIDACI D1–D2) and Hidden Rural Disadvantage (FSM6inIDACI D7–D10). When exporting fromArbor,Bromcom, orSIMS, stripUPNand pupil names before external lookups — or use Zero-API LocalONSPDCSV Mode above so0postcodes leave your browser.
NHS GP Practices, PCNs & ICBs (OHID Indicator 94240, Core20PLUS5 Adult + CYP & Carr-Hill £130.07)
- Patient-Weighted
OHID 94240vs Surgery Postcode Fallacy: Join quarterly NHS England Registered Patient LSOA files toIoD2025 File 7 v2to compute Patient-Weighted Mean IMD 2025 Score (=SUMPRODUCT(Patients, IMD_Score)/SUM(Patients)— OHID Fingertips Indicator94240; weight PCNs/ICBs by practice list size, never unweighted practice means). Core20PLUS5(Adult &CYP) +ZZ99Inclusion-Health Coverage: Core20 = nationalIoD2025OverallDeciles 1–2(=SUMIF(Decile,"<=2",Patients)/SUM(Patients)). Covers 5 Adult areas (maternity, SMI, chronic respiratory, early cancer, hypertension) and 5CYPareas (asthma, diabetes, epilepsy, oral health, mental health). RetainZZ99 3VZ(SPECIAL_POSTCODE_NHS_ZZ99) and NHSCLOSED/unmatched rows with dual denominators.- 2026/27 GMS
Carr-HillGlobal Sum (£130.07) & Health-Domain Circularity: Carr-Hill (£130.07/weighted patient,+5.46%) carries 0% direct IMD weight (PQ 40751), unlike 2026/27 ICB Allocations,LES/LCS, andTERS. Test Income (22.5%) separately from Health (13.5%) to avoid statistical circularity.
UK Charity & Community Grant Bids (National Lottery, BBC Children in Need, Sport England & Youth Music)
| UK Funder & Programme | Geographic Priority & Cutoff Rule | Exact IoD2025 Metrics to Cite |
Critical Funder Rules & Common Rejection Traps |
|---|---|---|---|
| National Lottery Community Fund (Reaching Communities & Awards for All) | No blanket cutoff; D1–2 (1–6,751) strongest, D1–3 (1–10,126) strong |
Delivery-venue Rank/Decile + % of unique beneficiaries in D1–2 / D1–3 + Income/Health domains |
Separate delivery postcode from where beneficiaries live; Awards for All (£20k, 300/150-word caps) needs 1–2 crisp stats + lived voice. |
| BBC Children in Need (Core & Project Grants) | No rigid cutoff; strong focus on D1–2 / D1–3 |
Both IDACI 2025 (% child rate + Rank/Decile) AND Overall IoD2025 |
Retired LSOA populations can mask child poverty in Overall IMD — always pair IDACI % with household hardship. |
| Sport England (Movement Fund) | Prioritises 1st Quartile (Top 25%) of Place Need Classification (PNC) |
Official Sport England PNC label (Adult 16+ / CYP 5–15) + IoD2025 Overall & Health |
IoD2025 D1–2 (20%) ≠ PNC Q1 (25%): report both side by side. |
| Youth Music (Trailblazer & Catalyser) | Considers LA youth need, rurality & prior investment | Overall IoD2025 + Children & Young People sub-domain (File 4) + IDACI (0–15 only) |
IDACI covers ages 0–15 only — never cite IDACI for 18–25 young adult cohorts. |
Joining ONS pcd/pcd2/pcds & UPRN to IoD2025 File 7 v2 (Power Query M, pandas, dplyr & DuckDB)
| ONS Column / Key | Format Rule | Short (M1 1AE) |
Medium (W1A 1AA) |
Long (SW1A 1AA) |
Why Joins Break |
|---|---|---|---|---|---|
pcd / pcd2 / pcds |
7-char (0–2 sp) / 8-char (1–3 sp) / 1-space display |
"M1 1AE" / "M1 1AE" / "M1 1AE" |
"W1A 1AA" / "W1A 1AA" / "W1A 1AA" |
"SW1A1AA" (0 sp!) / "SW1A 1AA" |
Excel TRIM() leaves 1 internal space and misses U+00A0 (NBSP) & U+202F! |
Postcode_Join_Key |
Uppercase, all Unicode whitespace/NBSP/BOM stripped (never strip - punctuation) |
"M11AE" |
"W1A1AA" |
"SW1A1AA" |
Universal 5–7 char join key; never pre-filter ONSPD to E01% before left-joining (or SIMD/WIMD rows falsely become NOT_FOUND!). |
- Excel Power Query (
M) — Connection-Only Beyond Excel's1,048,576-Row Sheet Limit: LoadONSPD_UK.csv(~2.7Mrows,Encoding = 65001) as Connection Only (avoid indiscriminateTable.Buffer), stripCharacter.FromNumber(160)(NBSP) +Character.FromNumber(8203)(ZWSP) + spaces, assert33,755uniqueFile 7 v2rows (SHA-256: b1b716aa...), and merge viaTable.NestedJoin(..., JoinKind.LeftOuter). - Python (
pandas) — Null-Key Guard,DOINTR/DOTERM(YYYYMM) &many_to_oneValidation:import pandas as pd norm = lambda s: s.astype("string").str.upper().str.replace(r"[\s\u00a0\u1680\u2000-\u200d\u2028\u2029\u202f\u205f\u3000\ufeff]+", "", regex=True).replace("", pd.NA) cohort["pc_key"] = norm(cohort["postcode"]) # For historical cohorts: filter dointr <= ref_ym & (doterm.isna() | (ref_ym < doterm)) matched = (cohort[cohort["pc_key"].notna()].merge(onspd_clean, on="pc_key", how="left", validate="many_to_one") .merge(iod2025_v2, on="lsoa21cd", how="left", validate="many_to_one")) - R (
dplyr >= 1.1.1):left_join(onspd_clean, by = "pc_key", na_matches = "never", relationship = "many-to-one"). - DuckDB / SQL (Guarding RE2
\sUnicode Gap +ONSUD/NSULUPRNSplit-Postcode Precedence): DuckDB RE2\somitsNBSP/U+202F; where postcodes straddle LSOA boundaries (~10–15% of postcodes), join propertyUPRNvia ONSONSUD/NSULfirst (COALESCE(uprn.lsoa21, pcd.lsoa21), excluding non-residential street-furniture UPRNs and never averaging deciles):CREATE OR REPLACE MACRO pc_key(s) AS NULLIF(regexp_replace(upper(s), '[\s\x{00A0}\x{2000}-\x{200D}\x{202F}\x{3000}\x{FEFF}]+', '', 'g'), ''); SELECT c.*, COALESCE(u.lsoa21, p.lsoa21) AS lsoa21cd, (u.lsoa21 IS NOT NULL AND u.lsoa21 <> p.lsoa21) AS split_postcode_disagreement, i.* FROM cohort c LEFT JOIN onsud u ON c.uprn = u.uprn LEFT JOIN onspd p ON pc_key(c.postcode) = p.pc_key LEFT JOIN iod2025_v2 i ON COALESCE(u.lsoa21, p.lsoa21) = i.lsoa21cd;
Complete 46-Column CSV Schema & ONS Exception Codes (Click to Expand)
Every exported CSV applies OWASP formula-injection sanitisation (=, +, -, @ text cells safely escaped) and appends 46 columns (build: iod2025-v21-20261124):
| Column Group (Count) | Exported CSV Headers | Description |
|---|---|---|
| IG Audit, Join Key & PQI (8) | Input_Postcode, Normalised_Postcode, Postcode_Join_Key, Match_Status, Country, National_Index_Name, National_Index_Year, ONS_Positional_Quality_PQI |
Statuses: MATCHED, MISSING_POSTCODE, SPECIAL_POSTCODE_NHS_ZZ99, NON_GEOGRAPHIC_PQI6_PO_BOX, NON_GEOGRAPHIC, OUT_OF_SCOPE (SIMD/WIMD/NIMDM/GY/JE/IM), NOT_IN_ONSPD_OR_TERMINATED, INVALID_FORMAT. |
| Small-Area Geography (6) | Small_Area_2021_Code, Small_Area_2021_Name, Local_Authority_District, Ward, Region, Constituency_2024 |
E01 LSOA21 (Eng), W01 LSOA21 (Wales), S01 DZ (Scot), N21 (NI), 2024 LAD, ward, region & constituency. |
| Headline IMD 2025 (5) | IMD_2025_Decile, IMD_2025_Quintile, IMD_2025_D1_D2_Flag, IMD_2025_Rank_of_33755, IMD_2025_Score |
England-only Decile (1–10), Quintile (Q1–Q5), IMD_2025_D1_D2_Flag (Yes/No), Rank & raw Score. |
| 2019 Continuity (4) | LSOA_2011_Code, IMD_2019_Decile, IMD_2019_Rank_of_32844, Geography_Change_2011_2021 |
Independent LSOA11 assignment (ECO4 Flex = D1–D3) & Unchanged vs Redrawn boundary check. |
| 7 Domains (14) | Income, Employment, Education, Health, Crime, Housing_Barriers, Living_Environment (_Decile & _Rank_of_33755) |
Exact Decile (1–10) & Rank (1–33,755) across all 7 domains (Income_Decile <= 2 = Warm Homes Pathway 1). |
| IDACI, IDAOPI & Note (9) | IDACI_Children_Decile/Quintile/Rank_of_33755/Score_Pct/Indicative_Band_AG, IDAOPI_Older_People_Decile/Rank_of_33755/Score_Pct, Methodology_Note |
Exact raw % rates (Score_Pct), ranks, bands & 17 Nov 2025 v2 dataset stamp. |
Need a full 7-domain chart, 16-layer interactive LSOA map, and 9-preset grant citation for one address? Return to our IMD postcode lookup (single postcode), browse 296 Local Authority rankings, or inspect our SHA-256 manifest on About & Methodology.
Bulk Postcode Deprivation Checker FAQs
Are my uploaded CSV files or pupil/patient records sent to your server, and are blank rows dropped?
No. When you select a CSV or TXT file, JavaScript FileReader parses your spreadsheet locally in browser memory with zero dropped rows (blank postcode cells are preserved as MISSING_POSTCODE) and OWASP formula-injection protection. Personal columns never leave your device; only deduplicated bare postcode strings query api.postcodes.io — or zero external postcode API calls occur when you paste 2021 E01 LSOA codes directly.
Why do Excel XLOOKUP, Python pandas, or R joins on ONS pcd, pcd2, and pcds postcodes produce unmatched rows?
ONS publishes postcodes in three spacing formats: pcd (7-char fixed, 0–2 spaces, e.g. 'M1 1AE' and 'SW1A1AA'), pcd2 (8-char fixed, 1–3 spaces, e.g. 'M1 1AE'), and pcds (6–8 chars with a single space, e.g. 'M1 1AE'). Standard Excel TRIM() leaves one internal space and fails to strip CHAR(160) non-breaking spaces. Always strip all whitespace on both tables to form a 5–7 character uppercase Postcode_Join_Key (exported in Column 3 of our CSV).
Should charities check their registered HQ postcode or project delivery postcodes for grant bids?
Always check actual project delivery / activity venue postcodes or beneficiary home postcodes — never just your charity's registered office (HQ) postcode. Note that funders like The National Lottery Community Fund, BBC Children in Need, Youth Music, and Arts Council England have no universal mandatory IMD cutoff, while Sport England's Movement Fund also checks its separate Place Need Classification quartile.
Does the CSV export include Postcode_Join_Key, ONS PQI quality flags, IDACI % scores, and IMD 2019 columns?
Yes. Every English row in the 46-column CSV export includes Postcode_Join_Key, ONS_Positional_Quality_PQI (1–9), Small_Area_2021_Code, IMD_2025_D1_D2_Flag, IDACI_Children_Score_Pct, IDACI_Indicative_Band_AG, plus independent LSOA_2011_Code and IMD_2019_Decile continuity columns, stamped with build ID iod2025-v21-20261124.
What happens if my batch includes postcodes in Scotland, Wales, Northern Ireland, or the Channel Islands / Isle of Man?
Scottish, Welsh, Northern Irish, and Crown Dependency (GY Guernsey, JE Jersey, IM Isle of Man) postcodes are preserved in exact row order and classified as OUT_OF_SCOPE with National_Index_Name (SIMD 2020v2, WIMD 2025, NIMDM 2017, or Crown Dependency), while IMD_2025_Decile is left blank so incompatible scales are never pooled. Our .txt summary reports both % of matched English rows and % of all input rows.
Why did a postcode return MISSING_POSTCODE, NOT_IN_ONSPD_OR_TERMINATED, or NON_GEOGRAPHIC_PQI6_PO_BOX?
Our batch engine separates exceptions into specific ONS diagnostics: MISSING_POSTCODE preserves blank CSV cells; NOT_IN_ONSPD_OR_TERMINATED flags valid UK syntax awaiting the next quarterly ONSPD/NSPL release (new-builds) or terminated Royal Mail postcodes (never substitute a neighbouring postcode's decile); NON_GEOGRAPHIC_PQI6_PO_BOX / NON_GEOGRAPHIC flags PO Boxes (ONS PQI=6 sector mean) and BX/BF/GIR codes; INVALID_FORMAT flags outward-only districts or O/0 and I/1 typos without silently guessing.