Skip to content
Menu

Container Number Check

Check ISO 6346 container numbers and calculate check digits, one or thousands at a time. Export to CSV or Excel. Free, no sign-up.

Runs in your browser

Container numbers

One per line, or separated by commas or semicolons. You can paste a column from Excel.

0 entries

What a container number is

A container number (ISO 6346) has 11 characters, for example MSKU6011672:

Part Characters Example Meaning
Owner code 1–3 MSK Three letters identifying the owner
Category 4 U U = freight container (J and Z are also defined)
Serial number 5–10 601167 Six digits chosen by the owner
Check digit 11 2 Calculated from the first 10 characters

How the check digit is calculated

  1. Give each character a value. Digits keep their value. Letters count from A = 10, skipping 11, 22 and 33: A 10, B 12, C 13 … K 21, L 23 … U 32, V 34 … Z 38.
  2. Multiply the value at position 1–10 by 1, 2, 4, 8 … 512 (doubling each time).
  3. Add the results and divide by 11. The remainder is the check digit; a remainder of 10 gives 0.

For MSKU601167: 24×1 + 30×2 + 21×4 + 32×8 + 6×16 + 0×32 + 1×64 + 1×128 + 6×256 + 7×512 = 5832. 5832 = 11 × 530 + 2, so the full number is MSKU6011672.

Using the tool

  • Paste one number per line, or separate them with commas or semicolons. You can paste a column from Excel, or upload a CSV, TSV, TXT or Excel (.xlsx) file and choose the column.
  • With Clean up input on, full-width characters become half-width, letters become uppercase, and spaces, hyphens, dots and slashes are removed, so msku 601167-2 is read as MSKU6011672.
  • Enter 10 characters to calculate the missing check digit: the result shows Calculated and the full 11-character number.
  • Empty lines are skipped but keep their number, so No. in the results matches the line or row number in your original list.
  • Duplicates are marked with the number of their first occurrence; tick Remove duplicates to drop them.
  • Download the results as CSV, TSV, Excel, JSON, JSON Lines or text, or only the rows with errors.

Common errors

  • Only uppercase letters A–Z and digits 0–9 are allowed – the number contains other characters. Turn on Clean up input to remove spaces, hyphens, dots and slashes and to convert lowercase and full-width characters.
  • Must be 11 characters (or 10 without the check digit) – after clean-up the number is shorter or longer. Enter 11 characters, or 10 to have the check digit calculated.
  • The first 3 characters (owner code) must be letters – one of characters 1–3 is a digit or symbol.
  • The 4th character must be U, J or Z – the 4th character is another letter or a digit.
  • Characters 5–10 (serial number) must be digits – one of characters 5–10 is a letter.
  • Check digit should be … – the 11th character does not match the check digit calculated from the first 10, so one of the 11 characters is wrong. The expected check digit is shown in the results.

FAQ

Does a valid check digit mean the container exists?

No. This tool only checks the format and the check digit. A number can be valid and still not belong to any real container. Whether an owner code is registered is not checked.

Can the 4th character be J or Z?

The format allows U, J and Z, so the tool accepts all three. Container numbers registered in practice use U (freight containers) in the 4th position.

Why is the check digit 0 for some numbers?

When the calculation leaves a remainder of 10, the check digit is 0. ISO 6346 recommends not using such serial numbers, but they exist, so the tool marks them as valid and shows a note.

Is my data sent to your server?

No. Checking, reading uploaded files and creating downloads all happen in your browser.

Which text encoding should I choose for CSV?

To open the file in Excel, choose “UTF-8 with BOM (for Excel)”. To import it into a system that only accepts Shift_JIS, choose Shift_JIS.