Want to convert TXT file to Excel file?
Try Withdata Data File Converter, a desktop TXT to Excel converter for Windows, MacOS, and Linux, Convert TXT to Excel, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Convert files locally and privately, avoid uploading large TXT file(s) to online services.
- Support Windows, Linux, and macOS.
Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Convert TXT to Excel
Choose TXT file -> Set Excel file -> Convert TXT to Excel
“Start a New Convert” for “TXT to Excel”.
Select From “File” “TXT” To “File” “Excel”.
1. Open source TXT file.
Support large TXT file ( > 4GB ).
Don’t worry about the delimiter, DataFileConverter will automatically determine the delimiter, includes comma, tab, colon, semicolon, pipe, hash (octothorpe), slash, asterisk, white space, and you can also enter a delimiter.
Source TXT file’s content is like this:
2. Config target Excel file.
3. Set rows options.
4. Convert TXT to Excel.
After converting, you can view the output Excel file.
More about TXT to Excel converter
Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
See also:
TXT → EXCEL reference
Type mapping
| Value kind | in TXT | in EXCEL |
|---|---|---|
| Int | 1234, or right-aligned in a fixed-width column | 1234 (a real numeric cell) |
| Bigint | 9007199254740993 | 9007199254740993 (exact only while the cell stays text) |
| Decimal | 1234.56 | 1234.56 (numeric cell, format controls the displayed decimals) |
| Float | 1.234e+10 | 1.234E+10 (numeric cell) |
| Text | written as-is; padding depends on the chosen layout | text cell; leading zeros survive only if the column is text |
| Long text | written as-is | text cell; wraps inside the cell rather than the row |
| Date | whatever the writer chose | a serial number plus a date cell format |
| Datetime | whatever the writer chose | a serial number plus a date-time cell format |
| Binary | not representable | not representable as data |
| Boolean | Y / N, or 1 / 0, or TRUE / FALSE | TRUE / FALSE (a real boolean cell) |
| JSON | written as-is | a text cell; the quotes are part of the value |
Dialect differences
Both TXT and EXCEL are file formats, so what differs below is how each one chooses to represent a value.
| Property | in TXT | in EXCEL |
|---|---|---|
| identifiers | None by convention | Not applicable; a cell holds exactly one value |
| dates | Whatever the writer produced; no convention is guaranteed | Stored as a serial number; only the cell format makes it lo... |
| binary | Not supported | Only as text or an embedded object, not as a data column |
| separator | Whatever was chosen - often fixed column widths | Cells, not delimiters |
| encoding | No declaration - UTF-8 works only with a BOM | UTF-8 internally, declared in the package |
| typing | None - every field is text | Real cell types: text, number, date, boolean, error |
| shape | Free form; a parser has to be told the layout | Multiple sheets, each a flat grid |
| ceiling | No formal limit | 1,048,576 rows x 16,384 columns per sheet; 255 sheets per w... |
Convert TXT to Excel the easy way
Use the TXT to Excel converter — an offline desktop app for Windows, macOS and Linux. Nothing to upload, large files and batch runs supported (free trial).