Excel to TXT Converter Online Free
Excel to TXT Converter
Convert an Excel workbook (.xlsx) into a plain text (.txt) file: the sheet you choose, laid out as tab-separated text — one row per line, one tab between cells — that any text editor, script or import wizard can read. Choose a .xlsx file, pick a sheet, and the text file is built in your browser. Nothing is uploaded to a server.
Scope, stated plainly: cell values are exported as text — numbers as the values Excel stored (92 stays 92, 88.5 stays 88.5), and formulas as the result Excel last calculated and stored in the file. Dates and times are stored inside .xlsx files as plain numbers, so they export as those numbers, not as formatted dates. Formatting, column widths, charts and images are not part of a text file and are not carried across. Caps: 10 MB, 10,000 rows and 200 columns per sheet.
Sometimes a spreadsheet needs to stop being a spreadsheet. The script that imports data wants one row per line and a tab between values. The legacy system, the text editor, the diff tool, the quick email to a colleague who only needs the figures — all of them want the sheet’s values as plain text, not as a workbook. An Excel to TXT converter does exactly that reduction, honestly: it opens the .xlsx file, reads the sheet you choose, and writes its cells out as tab-separated text — numbers as the values they are, words as the words they are. The converter at the top of this page does it in your browser, with no upload: it unzips the workbook package, reads its shared strings and sheet parts directly, and builds the text file locally on your device.
The worked example below shows the whole journey on a real file. When this converter was built, it was run end to end on a small workbook, sample-scores.xlsx (1,950 bytes), holding one sheet named Scores with a three-by-three grid: the header row Name, City, Score; then Ali, Lahore, 92; then Sara, Multan, 88.5. The converter produced sample-scores-Scores.txt, exactly 47 bytes, and the file’s entire content can be shown here, with ⇥ standing for the tab character: “Name⇥City⇥Score” on the first line, “Ali⇥Lahore⇥92” on the second, “Sara⇥Multan⇥88.5” on the third, and a final newline. Every value landed exactly as the sheet held it — the names and cities as text, the scores as numbers with nothing added and nothing lost: 92 stayed 92, and 88.5 kept its decimal.
That last point — numbers preserved as values — is where text export earns or loses its honesty, and it is worth understanding what an .xlsx file actually stores. A workbook does not store what you see on screen. It stores cell values in XML parts inside a ZIP package: text cells are usually held once in a shared strings part and referenced by number, numeric cells store their raw value, dates are stored as serial numbers counting days from the start of 1900, and formulas store both the formula and the result Excel last calculated. A converter that reads the package properly — resolving the shared strings, honouring each cell’s stored coordinates so empty cells cannot shift their neighbours sideways — produces text that matches the sheet. A converter that scrapes the screen or guesses produces text that almost matches, which is worse than useless for data work. This tool reads the package.
What XLSX Really Stores, and What TXT Takes From It
An .xlsx file is a ZIP archive of XML parts. The workbook part lists the sheets by name and points, through a relationships part, at each sheet’s own XML part. Inside a sheet part, data lives as rows of cell elements, and each cell carries its own reference — A1, B2, C3 — so a cell’s position is a fact about the cell, not a guess from counting. A text cell typically holds an index into the shared strings part, where the actual words live; a number cell holds the number itself; a cell with a formula holds the formula plus the cached result from the last time Excel calculated the file. This converter reads all of that the way Excel wrote it: it resolves shared strings back to words, takes numeric cells at their stored value, takes formula cells at their stored result (stated plainly, because the browser does not recalculate your workbook), and rebuilds the used range of the sheet as a grid, coordinates first, so the text rows line up cell for cell with the sheet.
A .txt file, by contrast, stores almost nothing — and that is its virtue. The tab-separated layout this tool writes is the plainest useful table format in computing: rows are lines, cells are separated by tab characters, and the file opens identically in every text editor, spreadsheet import wizard, database loader and programming language on earth. There are no types to argue about because the file makes only one promise: these characters, in this order. Numbers travel as their decimal characters — 88.5 is the four characters 8, 8, ., 5 — which any importing program can parse back into a number without locale surprises, because the tool writes the stored value without thousands separators, currency symbols or percentage signs added. What the sheet’s cells held is what the text file says.
Two consequences deserve stating on the tin rather than in a footnote, and the tool states both. First, dates: because Excel stores a date as a serial number — a count of days, with the formatted date you see being a display applied by the spreadsheet — the raw value a package reader can honestly export is the serial number. Export a column of dates with any tool that reads the file rather than the screen and you will meet numbers like 45931. This converter says so up front; if you need formatted dates as text, format them as text in Excel first (a helper column with the TEXT function), then convert. Second, formulas: the exported value is the result stored in the file at its last calculation. For any workbook last saved by Excel or LibreOffice, that is the current result; for a workbook generated by a script that never calculated its formulas, the stored result may be absent or stale, and no converter reading the file can invent it.
How to Use the Converter
Using the tool takes a few seconds. Follow these steps:
- Click the file box and choose a .xlsx file from your device (up to 10 MB). The workbook loads and its sheets appear in the Sheet list.
- Choose the sheet you want from the list.
- Press “Create Text File (.txt)”.
- Read the result lines and the preview: the page shows the exact text it produced, so you can check it before downloading.
- Click the download button to save the .txt file.
The downloaded file is named after the workbook and the sheet — sample-scores.xlsx and its Scores sheet produce sample-scores-Scores.txt — so converting several sheets of one workbook gives you a tidy set of files that cannot overwrite each other. Files that are not .xlsx (including the older .xls format, which is a different, binary format), files over 10 MB, and sheets beyond 10,000 rows or 200 columns are refused with clear messages. An empty sheet converts to an honest message, not an empty file.
Worked Examples
Example 1: The build test — names, cities and scores
The sample from the introduction is this tool’s own build test, run on the exact code this page ships. The workbook, sample-scores.xlsx, is 1,950 bytes, written with a shared strings part holding its seven distinct words — Name, City, Score, Ali, Lahore, Sara, Multan — and a sheet part holding the three-by-three grid by cell reference, with the two scores stored as numbers. The converter loaded the workbook, listed its one sheet (Scores), and produced sample-scores-Scores.txt: 47 bytes, three lines, tab-separated — “Name⇥City⇥Score”, “Ali⇥Lahore⇥92”, “Sara⇥Multan⇥88.5” — ending with a final newline, and the on-page preview matched the downloaded file character for character. The proof matters in the details: the shared strings were resolved (the sheet part itself contains only indexes for the words), the numbers came through as values rather than as their display formatting, and the decimal 88.5 survived intact, because the grid was rebuilt from cell coordinates rather than scraped from a rendering.
Example 2: An inventory sheet becomes an import file
A small shop keeps stock in Excel: columns Item, Shelf, Quantity, Reorder Level, a few hundred rows. The warehouse’s handheld scanners import a tab-separated text file. Converting the sheet produces one line per product, tabs between the fields, quantities as plain numbers the scanner software parses directly. The result line’s census — rows × columns — is the check to glance at: it should match the sheet’s used range, and if the row count is one more than you expected, there is probably a totals row at the bottom of the sheet (which will convert too, faithfully), or a stray note typed far below the data (which stretches the used range and converts as empty lines). Both are discoveries worth making at conversion time rather than at import time.
Example 3: One sheet of many
A finance workbook holds a sheet per month plus a summary. This converter converts one sheet per run — the one you pick — because a text file has no concept of sheets, and silently concatenating twelve months into one file with no markers would be a data accident waiting to happen. Pick January, convert, pick February, convert; the file names carry the sheet names, and each file contains exactly its own sheet’s grid. Deliberate, visible, reversible — the opposite of a surprise.
How to Read the Output
The preview on the page is the output: the exact text, shown before you download, so verification is a glance rather than a leap of faith. The result line names the file on the download button, whose label repeats the byte size — plain text is small, and 47 bytes for a three-by-three grid is the right order of magnitude (each value’s characters, one tab between cells, one newline per line). The detail line names the sheet and gives the grid’s dimensions as rows × columns, counted from the cells the converter actually wrote. If a column you expected is missing, the cause is almost always that it lies outside the sheet’s used range as stored — an entirely empty column beyond the data is not part of the grid — and if a row appears blank in the middle, it is blank in the sheet: the converter preserves interior empty rows so that row numbers in the text file still correspond to row numbers in the sheet, while trailing empty rows and columns are trimmed, because they carry no information and would only confuse an importer.
Where Excel to TXT Conversion Is Used
The pattern repeats wherever data must leave the spreadsheet world. Programmers convert sheets into tab-separated files their scripts can read without a spreadsheet library. Data teams feed legacy systems, barcode and scanner software, and industrial controllers that speak text and nothing else. Analysts flatten a sheet to text so a version-control system can diff it meaningfully — workbooks are binary packages that diff tools cannot read, while text lines diff beautifully. Teachers convert mark sheets for import into school systems. In each case the requirement is the same: the values, all of them, in the right cells, with numbers still numbers. Converting inside the browser adds the privacy benefit: payroll sheets, price lists and customer exports are precisely the files that should not be uploaded to a stranger’s server for a ten-second format change, and with this tool they never leave the device.
Common Mistakes
The first common mistake is expecting formatted dates. As explained above, dates inside .xlsx are serial numbers wearing a display format; the honest export is the number. If your sheet’s dates matter as dates, add a helper column in Excel that renders them as text in the layout you want, and convert that. The second mistake is expecting the export to recalculate formulas: it reports the stored results, which are current for any file last saved by a real spreadsheet program — but a workbook produced by a script that wrote formulas without calculating them may hold zeros or stale values, and the text file will faithfully repeat them. Open and save such a file in Excel or LibreOffice once, then convert. The third mistake is opening the .txt in a program that guesses the delimiter wrong: the file is tab-separated, so tell the import wizard “tab” rather than letting it guess commas, or the whole sheet lands in one column. The fourth is editing the text in a word processor, which may replace tabs with spaces or curl the quotes; use a text editor. The fifth is converting the wrong sheet: workbooks open on their first sheet by default here too — check the Sheet list shows the one you meant before pressing the button.
Limits: What This Tool Does and Does Not Do
This tool converts one worksheet of an .xlsx workbook — an uploaded file up to 10 MB, up to 10,000 rows and 200 columns — into a tab-separated plain text file: text cells as their exact characters, numeric cells as their stored values, formula cells as their stored results, boolean cells as TRUE or FALSE. It does not convert the older .xls binary format, .xlsm macros (which it does not run, ever), or .csv files (those are already text). It does not export formatted dates, currency symbols, percentage formatting, colours, or any other display layer — the text file holds values, not appearances — and it converts one sheet per file, by your selection. Within that scope the output was verified at build time: the text matched the source sheet cell for cell on a workbook exercising shared strings and mixed text and numbers, and the on-page preview is generated from the same text as the download, so what you check is what you get. If your destination program wants commas instead of tabs, any text editor can replace them in one operation; if it wants every sheet at once, it is asking for a database, not a text file, and a different tool should do that job.
Privacy: Your Data Stays in Your Browser
Every file you convert with this Excel to TXT converter stays in your browser. The workbook is read locally on your device, unpacked locally by a ZIP library loaded with the page, translated locally, and offered back as a download; nothing is uploaded to a server, stored, or shared, and there is no account to create. Closing the page removes your data from the tool. Spreadsheets hold salaries, prices, grades and customer lists — exactly the data that should not take a trip to a stranger’s server for a format change — and with a local conversion, it does not.
Frequently Asked Questions
Is the text file really tab-separated?
Yes. Each row of the sheet becomes one line of the file, and cells within the line are separated by single tab characters, with a newline at the end of the last line. That is the layout spreadsheet import wizards, databases and scripts expect from a .txt export, and the on-page preview shows the exact file, tabs included, before you download it.
Is this Excel to TXT converter free?
Yes — free, with no sign-up and no row limit beyond the stated caps (10 MB, 10,000 rows, 200 columns). The conversion runs on your own device, so there is no server bill to pass on.
Why did my dates come out as numbers like 45931?
Because that number is what the .xlsx file actually stores: Excel keeps dates as day-count serial numbers and only displays them as dates through formatting. A converter reading the file honestly exports the stored value. To export dates as readable text, render them as text inside Excel first (for example with a TEXT formula in a helper column), then convert.
What happens to formulas?
Their last calculated results are exported — the values Excel or LibreOffice stored in the file when it was last saved. The formulas themselves have no meaning in a text file. If a workbook was generated by a script that never calculated its formulas, open and save it in a spreadsheet program once so real results are stored, then convert.
Can I convert several sheets at once?
One sheet per run, chosen from the Sheet list. A text file has no sheet structure, so merging sheets silently would corrupt the data’s meaning. The download name includes the sheet name, which makes converting several sheets in a row quick and safe.
Will empty cells and blank rows survive?
Interior empty cells become empty fields between tabs, and interior blank rows become blank lines, so positions in the text file still match positions in the sheet. Trailing empty rows and columns — beyond the last cell holding a value — are trimmed away.
