CSV to Excel Converter – Free, Keeps Leading Zeros

Turn a CSV, TSV or TXT file into a real Excel workbook (.xlsx). The separator and text encoding are detected for you, and IDs, phone numbers and codes with leading zeros stay exactly as written. The file never leaves your browser.

Drop a CSV file here

or

CSV, TSV or TXT · one file, up to 50 MB

Private: files never leave your device

    How to use it

    1. Choose or drop a CSV, TSV or TXT file.
    2. Check the preview: separator, encoding and columns are detected automatically and can be changed.
    3. Decide whether numbers should become real numbers or everything should stay as text.
    4. Click “Convert to Excel” and download the .xlsx file.

    A CSV converter that does not guess wrong

    CSV files have no types: everything is text separated by commas or semicolons. The problems start when a spreadsheet tries to guess — postcodes and customer numbers lose their zeros, 16-digit card or account numbers are rounded, IBANs turn into scientific notation. This tool lets you decide. The safe default keeps every value as written; number conversion only touches values that are clearly numbers in the format you choose.

    What is handled for you

    • Quotes and line breaks: quoted fields, doubled quotes ("") and line breaks inside a cell follow the CSV standard (RFC 4180).
    • Separators: comma, semicolon, tab and pipe are detected automatically; Excel exports from Turkey and much of Europe usually use semicolons.
    • Encodings: UTF-8, UTF-8 with BOM, UTF-16 and older Windows files (Turkish Windows-1254, Western Windows-1252), so letters such as ğ, ş, İ, é and ñ come out right.
    • Header row: optionally bold and frozen, so it stays visible while you scroll.

    Limits

    The result is one sheet with your data — no formatting, formulas or charts. Excel allows up to 1,048,576 rows and 16,384 columns per sheet; larger files must be split. Very large files (tens of megabytes) may be slow on phones. For the opposite direction use Excel to CSV.

    Frequently asked questions

    Why do my leading zeros disappear when I open a CSV in Excel?

    Excel guesses types when it opens a CSV and turns “00123” into the number 123, long IDs into 1.23E+15 and some codes into dates. This converter writes each cell with an explicit type. With “Keep everything as text” (the default) nothing is reinterpreted at all.

    Which separator and encoding does it use?

    It tries comma, semicolon, tab and pipe and picks the one that gives a consistent number of columns. Encoding: UTF-8 (with or without BOM) and UTF-16 are recognised; other files are read as Windows-1254 (Turkish) or Windows-1252 (Western European). If letters look wrong in the preview, choose the encoding yourself.

    When should I convert numbers?

    When you want to calculate with the columns in Excel. Pick the format your file uses: 1,234.56 (common in the UK/US) or 1.234,56 (common in Turkey and much of Europe). Values with leading zeros, a leading “+”, more than 15 digits or anything else ambiguous still stay text.

    Is it safe if the CSV contains formulas?

    Yes. Cells that start with = + - or @ (a known “CSV injection” trick) are stored as plain text with Excel’s text marker, never as formulas, so nothing runs when the workbook is opened.

    Are dates converted?

    No. Dates stay exactly as written, as text, because “03/04/2025” means different days in different countries. Excel lets you convert a column later with Data → Text to Columns if you need real dates.

    Related tools

    • Excel to CSV

      Export an .xlsx sheet as UTF-8 CSV with your separator and decimal mark, ISO dates and formula protection.

      Converter Tools  Works with XLSX

    • PDF to Text

      Pull all text out of a PDF as a .txt file or copy it, with word and character count.

      Converter Tools  Works with PDF

    • JPG to PDF

      Combine photos and scans into one PDF — choose page size, margins and order.

      PDF Tools  Works with JPG, PNG, HEIC, WebP, GIF, BMP, AVIF

    • Merge PDF

      Join several PDF files into one document, in the order you choose.

      PDF Tools  Works with PDF