Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Data Processing

ISO 3166 Country Code TLD and Subdivision Mapper

· Last updated:2026-08-04

Look up ISO country codes, ccTLD, calling, IOC, M49, FIPS and ISO 3166-2 subdivision data

Details

What this tool helps you do

Uses bundled local datasets, preserves null auxiliary codes, exposes IANA timezones and returns subdivision parent relationships without network calls.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Data Processing
Input types
text, select, checkbox, number
Output type
json
Sample coverage
4
API ready
Yes

Overview

The ISO 3166 Country Code TLD and Subdivision Mapper looks up country and subdivision records from bundled local datasets. Enter a country name, ISO code, ccTLD, calling code, IOC code, UN M49 code, FIPS code, or ISO 3166-2 subdivision to receive structured JSON with matching code, timezone, and relationship data.

When to use

  • You need to convert a country name or code into ISO, ccTLD, calling, IOC, M49, or FIPS values.
  • You need to resolve an ISO 3166-2 subdivision and identify its parent country.
  • You want consistent country metadata from a local dataset without making network requests.

How it works

  1. 1Enter a query such as "US", "USA", ".us", "840", or "US-CA".
  2. 2Choose a search field, or leave Search Field set to Auto to let the mapper identify the query type.
  3. 3Enable Include Subdivisions when subdivision data should be included in the lookup.
  4. 4Set the result limit from 1 to 50, then receive the matching records as JSON.

Use cases

  • Build country reference tables with consistent ISO, domain, calling, sports, regional, and legacy code values.
  • Validate or enrich geographic data that contains mixed country identifiers such as USA, 840, .us, or US-CA.
  • Resolve administrative subdivisions and connect them to their parent country in data analysis workflows.

Examples

1. Inspect the United States code bundle

Data analyst

Background

A data analyst receives a dataset containing the value USA and needs the corresponding country identifiers for a reference table.

Problem

The country value must be mapped to ISO, ccTLD, calling, IOC, M49, FIPS, and timezone fields.

How to use

Enter `USA` in Query, keep Search Field set to `Auto`, leave Include Subdivisions disabled, and use the default result limit.

{"query":"USA","searchBy":"auto","includeSubdivisions":false,"limit":20}

Outcome

The tool returns a structured JSON country record with the matching code bundle and available timezone information.

2. Find the parent country for California

Geographic data manager

Background

A geographic data manager has an ISO 3166-2 code and needs to confirm which country owns the subdivision.

Problem

The code US-CA should be resolved as a subdivision rather than a general country query.

How to use

Enter `US-CA` in Query, choose `ISO 3166-2 subdivision` as Search Field, leave Include Subdivisions disabled, and keep the result limit at 20.

FAQ

Which query formats are supported?

You can search with country names, ISO alpha-2 or alpha-3 codes, ISO numeric codes, ccTLDs, ITU calling codes, IOC codes, UN M49 codes, FIPS codes, and ISO 3166-2 subdivision codes.

What does Auto search do?

Auto search selects the appropriate lookup behavior based on the value entered in the Query field.

Can I look up subdivisions such as US-CA?

Yes. Select ISO 3166-2 subdivision as the search field to resolve a subdivision and its parent country relationship.

What does the tool return?

The tool returns structured JSON country or subdivision records, including available code values and IANA timezone data.

Does the lookup require an internet connection?

No. The mapper uses bundled local datasets and does not make network requests.

Home
Tools3201
Samples593
Visualizations465
Viewers103
Hubs233
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance644

Calculators, numerics, date logic, statistics, and finance tools

Design & Color297

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

FLAC/WAV Source Screening and Evidence Handoff
Self-Hosted Giveaway Widget Review and Embed Handoff
Stripe Promo Code Batch Review and Import Preflight
Batch Photo Culling Review and Editing Shortlist Handoff
UI Screenshot Structure Review and Development Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Media

QR Code Samples

Sample QR code images for testing QR code reading and generation tools

Code Processing

Code Comment Samples

Sample code files with various comment styles for testing comment removal

Development

Code Viewer Samples

Sample long-tail code and config files (shell, Vue, C++, TOML, Graphviz) for the in-browser Code Viewer

Development

Code Documentation Samples

Code samples with various documentation styles including JSDoc, JavaDoc, Python docstrings, and TypeScript annotations

Data Processing

Log Redactor

Batch redact sensitive data from logs using configurable rules and multiple strategies

Data Processing

Foreign Key Validator

Validate foreign key relationships between multiple datasets. Perfect for checking data integrity, finding orphaned records, and ensuring referential consistency across related tables. Features: - Validate foreign key relationships - Find orphaned records - Check referential integrity - Support multiple key formats - Cross-table validation - Missing key detection - Duplicate key analysis - Relationship mapping Common Use Cases: - Database integrity checks - Data migration validation - ETL process verification - Referential consistency checks - Data quality assurance - Relationship analysis

Geography

International Calling Code

Find the international telephone calling code for any country

Math & Numbers

Beam Deflection Calculator

Look up and compute the maximum deflection for four classic beam cases: cantilever with end point load (δ=PL³/3EI), cantilever with UDL (δ=qL⁴/8EI), simply supported with mid-span point load (δ=PL³/48EI), and simply supported with UDL (δ=5qL⁴/384EI).

{"query":"US-CA","searchBy":"subdivision","includeSubdivisions":false,"limit":20}

Outcome

The JSON result identifies the subdivision and returns its parent country relationship.