LocalExcelTool
Get started

Convert text to numbers

Turn "$1,240.00" and "(85.50)" into real numbers Excel can add up.

Runs in your browserNo account neededFree

What is Convert text to numbers

Numbers imported from another system often arrive as text: a currency symbol, a thousands separator, or parentheses for negatives. Excel then refuses to SUM them. This tool strips those decorations and converts only the cells that become valid numbers, leaving everything else untouched.

File

No file chosen

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

What gets converted

Currency symbols, thousands separators, percent signs and surrounding spaces are stripped, accounting parentheses become negatives, and the result is written as a real number. A cell that is not a valid number after stripping keeps its original text.

Why some cells stay as text

Values like N/A, 12 pcs or 1.240,50 (European decimal comma) do not reduce to a number, so they are left alone and reported in the count. Forcing them to zero would corrupt the column's total without any visible error.

When not to use it

When the column is an identifier. Order numbers, phone numbers and postal codes look numeric but must stay text, or you lose leading zeros and Excel starts treating them as quantities. After converting, check the column's total against the source. If it moved by a large amount, a cell that was never a number was silently included in your mental model of the column.

How to use it

  1. 1.Choose your .xlsx / .xls / .csv file (it never leaves the browser).
  2. 2.Pick the options you need.
  3. 3.Download the result — a new workbook, not an edit of the original.

How Convert text to numbers works under the hood

An .xlsx file is not a table — it is a ZIP archive of XML parts. Everything you see as a grid is rebuilt from cell references on this page, in memory, without a round trip to a server.

  1. 1

    Read the file as bytes

    The file is read into an ArrayBuffer with the File API. This is a local read, not a request — nothing leaves the tab.

  2. 2

    Unzip and parse the workbook

    SheetJS inflates the archive, reads workbook.xml for sheet order, sharedStrings.xml for text, and each sheet's XML for cells and types.

  3. 3

    Rebuild rows in memory

    Cells are placed by their A1 reference, gaps become empty cells, and the sheet is materialised as a two-dimensional array.

  4. 4

    Write the output locally

    The result is serialised to CSV text or a new workbook and handed to the browser as a Blob download.

  5. Processing pipeline

Why formulas arrive as values

A spreadsheet stores two things per formula cell: the formula text, and the value Excel last computed and cached. A browser parser reads the cached value. Making the formula itself run would mean reimplementing Excel's calculation engine — including volatile functions, circular-reference detection and locale-specific parsing. So the exported CSV contains what you last saw on screen, not a live formula.

What has no CSV equivalent

Merged cells, cell fills, fonts, conditional formatting, comments and pivot tables have no representation in a comma-separated file. A merged cell becomes its value in the top-left position and empty cells elsewhere. Dates are written as dates only when the cell is typed as a date; a date stored as text stays text. These are format limits, not bugs.

Where it gets slow

Parsing is linear in cell count, and the browser holds the whole workbook in memory. A 30 MB file with a million populated cells can take several seconds and a few hundred MB of RAM; the tab may feel frozen while SheetJS works. Splitting the file by sheet, or exporting only the range you need, is faster than retrying with a bigger limit.

Verify it yourself

You do not have to take this on faith. Run the tool once with DevTools open.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

What happens to cells like "N/A" or "12 pcs"?

They stay exactly as they were. Forcing them to 0 would silently corrupt your totals — the result note tells you how many cells were actually converted.

Does it handle percentages?

It strips the % sign and returns the number as written (15% becomes 15, not 0.15). Multiply the column by 0.01 afterwards if you need a real percentage value.

Is my file uploaded to a server?

No. The workbook is opened and rewritten by JavaScript in this page. There is no upload request — you can disconnect the network after the page loads and it still works.

What happens to formulas and formatting?

This tool reads cell values and writes a clean new workbook. Formulas arrive as their last calculated value, and cell styling, merged cells, conditional formatting and comments are not carried over. If you need the original styling, keep the source file.

What is the file size limit?

30 MB per file. Larger workbooks are rejected before any processing starts, so a big file will not hang the tab.

What this kind of conversion cannot keep

Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.

More in Spreadsheets & Docs