PDF Mikata

When Leading Zeros Disappear

Published: Oct 19, 2026 | Updated: Oct 19, 2026 | About (Japanese)

Key points
  • Check
  • Convert

When postal codes like "0123456" or phone numbers like "09012345678" are brought from CSV into Excel, the leading 0 vanishes. In Convert CSV to Excel (.xlsx) numbers starting with 0 are entered as text, so they don't vanish.

Steps

  1. Choose the CSV with "Choose a CSV file", or paste into "CSV content".
  2. Check the setting "Enter numbers as numeric values".
  3. Press "Make Excel and save" and save.
Numbers starting with 0, like "007", are entered as text. Postal codes and phone numbers don't change. Only ordinary numbers become numeric values.

Why the 0 vanishes

Excel automatically turns values that can be read as numbers into numeric values. The number "007" is treated as "7" and the leading 0 disappears. Opening a CSV directly in Excel triggers this conversion.

How this tool handles it

Examples of numbers starting with 0

Caution: not usable in calculations

Numbers entered as text can't be used in calculations such as sums and averages. If a number you want to calculate with (such as an amount) starts with 0 and became text, convert it to a number in Excel.

Numbers you don't want as values

Numbers you don't calculate with, like phone numbers and member numbers, are appropriately kept as text.

Good for

Example

Wanted to make Excel from a CSV with member numbers in the form "000123". Opening normally gave "123", but with this tool it was saved as "000123".

Common stumbling blocks

Frequently asked questions

What about decimals like 0.5?

Decimals starting with "0." are treated as numeric values.

Summary

Numbers starting with 0 are protected as text. Numbers you calculate with go in as values.

Use "Convert CSV to Excel (.xlsx)" (free)

Tools that go well with this

If this guide helped, a small tip would mean a lot.

Send a tip (¥300)Send a gift (Amazon wishlist)

More guides for this tool

See all guides