Part of these Data Solutions
- Explore →
Global Country & Region Reference Data Solution
Authoritative country codes, regions and location reference data to power your location-based solutions.
- Explore →
Logistics Data Solution
Comprehensive reference for shipping codes, container standards and more.
- Explore →
Postal Codes Solution
Every worldwide postal-code dataset in one bundle — the ultimate global reference for precise postal codes.
API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIiso-container-codes
| Field | Type | Description | Pattern |
|---|---|---|---|
| code | string | A 4 character alphanumeric size and type code as defined by ISO 6346. Not unique: 42HR appears twice (in the second row its group is 42RT). | [A-Z0-9]{4} |
| description | string | Description of the Container Type | [A-Z]{50} |
| length | number | External length in feet of the container. 0 means no length is given (e.g. 8888 Uncontainerised). Some rows disagree with the code (see README). | [0-9]{2} |
| height | number | External height of container in feet (e.g. 8.5, 9.5). 0 means no height is given. | |
| group | string | 4-character group code (see iso-container-groups) describing the group the code belongs to, more regularly used when sending electronic shipping messages | [A-Z0-9]{4} |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 22.8 kB
About this dataset
ISO 6346 Container Type Codes
Coded list of ISO 6346 shipping containers, used in international trade and electronic shipping messages: the size and type codes (for example 22G1) and the groups they belong to.
Column definitions and types are in datapackage.json.
Data
The data is compiled by hand. There is no script that updates it. It was put together between December 2015 and February 2020, and the last change to the data files was in February 2020, so new or changed codes since then are not included.
There are two files. Both use Windows line endings (CRLF).
data/iso-container-codes.csv has 716 rows, one per size and type code, with 5 columns:
| Column | Meaning |
|---|---|
code | The 4-character ISO 6346 size and type code, for example 22G1. The first character is the length, the second is the width and height (coded), and the last two describe the type. Not every code starts with two digits (see the limitations). code is not unique |
description | The container type in words, for example Dry Bulk |
length | External length in feet. 0 means none is given |
height | External height in feet, for example 8.5 or 9.5. 0 means none is given |
group | The code of the group the container belongs to. These are the codes in data/iso-container-groups.csv, and they are the codes used in electronic shipping messages |
data/iso-container-groups.csv has 28 rows with 2 columns, code (unique) and description, for example 20 BULK CONTAINER.
Known limitations
These are in the data as committed and have not been changed:
codeis not unique:42HRappears in two rows, once with group42HR("Insulated (Conair)") and once with group42RT.- 45 codes start with a letter (for example
L5G0,M2G0) and 3 have a letter second (4CG0,4CG1,4CGP). - The group codes
42TN(33 rows) andL5RT(29 rows) are used iniso-container-codes.csvbut are not iniso-container-groups.csv. The groups file instead has42TDandL5R1, which no row uses as a group. - Where a code starts with
4, the length column is normally40. 13 rows say45(for example45R0,45H2) and45G4says0. Other rows have an odd length for their code (3399has length 23,2650has length 0,12TRhas length 42). - The description of group
22BUends with a tab character. - The data is not complete or checked against the current standard. It was made before ISO 6346:2022 was published.
- Where each row comes from is not recorded (see Data sources).
- The codes are text, as
datapackage.jsonsays. Some are made only of digits (for example3399). With pandas, read them as text:pd.read_csv("data/iso-container-codes.csv", dtype=str).
Data sources
There is no script and no record of how the rows were made. This is what we could establish.
- Container Container, a shipping container sales company (now Parsons Containers). The group list in
iso-container-groups.csvmatches the table on this page for most groups, with a length number added at the front of each description. Most of the rows iniso-container-codes.csvare not on this page, and the page has no length or height. Licence: unclear (see License). - Wikipedia, "ISO 6346" has a table of size and type codes with the same codes as the Container Container table. We could not establish whether any rows were taken from it. Licence: CC BY-SA 4.0, if rows were taken (see License).
- shippingcontainers24.com has the same list. The original page is gone; the link is to an Internet Archive copy. We could not establish whether it was used. Licence: unclear (we found no terms).
- ISO 6346:2022, the standard (paid; the ISO site refuses scripts, so this link could not be checked automatically). The BIC (Bureau International des Containers) page on size and type codes explains the structure of the codes. The size and type code list is part of the standard. We could not establish whether rows here come from it. Licence: unclear (ISO says reproduction needs its written permission).
Changes made to the source data: not recorded. The Container Container table has no length or height columns, and the group descriptions here have a length number added at the front. We could not tell where the length and height values come from, or how the other rows were made.
Not endorsed by, or affiliated with, Container Container, Parsons Containers, Wikipedia, ISO or BIC.
Preparation
The data is edited by hand in the two CSV files. There is no script and no GitHub workflow that changes them. Keep the CRLF line endings and the column order when editing, and update datapackage.json if columns change.
License
The licence of this data is unclear. What we checked:
- Container Container: the page of the ISO 6346 table has no licence. Its footer said "All rights reserved" in 2015 and now says "Copyright © Parsons Containers". We found no permission to copy the table.
- Wikipedia: its text is under CC BY-SA 4.0, which would need credit and sharing under the same licence. That does not fit the PDDL. We could not establish whether its table was used.
- ISO: ISO says all its publications are protected by copyright and that "any use, including reproduction requires our written permission". We could not read the paid standard to compare it with these rows.
- shippingcontainers24.com: we found no terms.
We could not establish where most of the rows come from, so we cannot say whether they may be released under an open licence. Do not rely on this data being in the public domain. If you plan to use it commercially, check the terms of the sources above first.
The maintainers place only their own work (for example the selection and arrangement of the rows and the CSV format) under the Public Domain Dedication and License (PDDL). This does not cover the sources above. See also ATTRIBUTION.txt.