टेक्स्ट फ़ाइलें CSV में बदलें

TXT से CSV कन्वर्टर

.txt फ़ाइल अपलोड करें और साफ़, संरचित CSV डाउनलोड करें। कनवर्टर यह पता लगाता है कि आपका टेक्स्ट कैसे अलग किया गया है, एक तालिका प्रीव्यू दिखाता है, और आपको एक्सपोर्ट से पहले डिलिमिटर, हेडर और एनकोडिंग ठीक करने देता है।

मुफ्तसाइन-अप नहींआपके ब्राउज़र में चलता हैExcel के अनुकूल
कन्वर्ट करना शुरू करें
TXT से CSV कन्वर्टर
कन्वर्ट करने के लिए टेक्स्ट पेस्ट या अपलोड करें।
इनपुट — पेस्ट या अपलोड करें
Drag a file here, or browse (.txt, .csv, .tsv, .json)
आउटपुट
इनपुट है
इनपुट विभाजक
कॉलम चौड़ाई
आउटपुट के रूप में
कस्टम विभाजक
साधारण टेक्स्ट शैली
उद्धरण
लाइन अंत

आपके डेटा का लाइव तालिका पूर्वावलोकन यहाँ दिखाई देगा।

Drop a .txt file above or paste its contents — output is set to CSV by default.

विज्ञापन
यह क्या करता है

Turn a text file into a CSV file

If you have a .txt file — a Notepad export, a log, an exported list or a copied table — this tool converts it to CSV without installing anything. It is the quickest way to convert a text file to CSV, whether the rows are separated by commas, tabs, spaces or pipes.

Upload the file (or drag it onto the box), and the converter reads it locally in your browser. It guesses the delimiter, splits the text into columns, and shows a live preview so you can confirm the result before downloading. Because nothing is uploaded to a server, it is safe for private or work data.

Need the reverse direction? Use CSV से टेक्स्ट. Working with many files at once? The batch TXT to CSV converter handles up to 50 in one go.

चरण दर चरण

How to convert a TXT file to CSV

Upload your .txt

Click browse or drag the text file onto the input box. You can also paste the contents directly.

Confirm the columns

The tool auto-detects the separator and shows a table. If columns look wrong, set इनपुट है to Delimited and pick the delimiter, or use Fixed width.

CSV डाउनलोड करें

Keep the output on CSV (tick UTF-8 BOM for Excel) and click Download. Your file is ready.

उदाहरण

Input and output example

A tab-separated text file becomes comma-separated CSV, ready for Excel.

Input
name	email	age
Ada	[email protected]	31
Lin	[email protected]	27
आउटपुट
name,email,age
Ada,[email protected],31
Lin,[email protected],27
Details

Getting a clean CSV from messy text

कुछ सेटिंग्स उन मामलों को संभालती हैं जो आमतौर पर टेक्स्ट-से-CSV रूपांतरण को तोड़ते हैं।

When the .txt has commas inside fields

If a value already contains a comma (for example Doe, John), a naive split would break the row. This converter follows standard CSV rules: any field containing a comma, quote or line break is wrapped in double quotes on export, so the CSV stays valid and re-imports correctly.

When rows use tabs, spaces or pipes

Tab-separated and pipe-separated text are common in exports. Leave the input on स्वचालित पहचान and the tool measures column consistency to pick the right separator. If your file is space-aligned into columns, switch इनपुट है to स्थिर चौड़ाई and the columns are detected by their positions.

Keeping a header row

If the first line of your text file lists column names, tick पहली पंक्ति हेडर है. The preview marks it as a header and, if you later export to JSON, those names become the object keys.

Encoding, leading zeros and Excel

To open the CSV in Excel with accents or CJK characters intact, enable UTF-8 BOM. To stop Excel turning IDs like 007 or long numbers into 7 or scientific notation, enable Excel-सुरक्षित संख्याएँ. For a deeper walkthrough see fix CSV Excel formatting issues.

Good to know

Tips and edge cases

अक्सर पूछे जाने वाले प्रश्न

TXT to CSV Converter — FAQ

How do I convert a .txt file to .csv?

Upload the .txt above, confirm the column split in the preview, keep the output on CSV and click Download. The whole conversion happens in your browser.

My TXT has commas inside the text — will it break?

No. Fields containing commas, quotes or line breaks are automatically quoted on export, following standard CSV rules, so the file stays valid.

How do I keep the first row as headers?

Tick पहली पंक्ति हेडर है. It is highlighted in the preview and used as keys if you export to JSON.

Can I convert TXT to CSV without uploading my data?

Yes. All parsing runs locally in your browser; your text never leaves your device.