Convertisseur texte vers CSV
Collez ou téléversez tout texte délimité, liste ou JSON. Obtenez CSV, TSV, pipe, HTML ou JSON propres en quelques secondes — le tout dans votre navigateur.
Un aperçu tabulaire en direct apparaît ici.
Tip: the output is set to CSV — switch the Sortie en menu to TSV, pipe, fixed-width, plain text, HTML table or JSON whenever you need a different format.
Convertir du texte en CSV — et neuf autres formats
The converter above is built around the most common job, text to CSV, but it also exports the formats people search for next, so you rarely need another tool.
TXT vers CSV
Téléversez un .txt et téléchargez un CSV propre.
Open →CSV vers texte
Inverser : reconvertir un CSV en texte brut ou délimité.
Open →CSV to delimited text
Sortie virgule, tab, pipe, espace ou largeur fixe.
Open →JSON vers CSV
Aplatir un tableau JSON d'objets en lignes.
Open →CSV to HTML table
Générer un <table> HTML à coller dans une page.
Open →Conversion par lot
Convertir jusqu'à 50 fichiers texte à la fois.
Open →Comment convertir du texte en CSV
Coller ou téléverser
Collez votre texte ou liste, ou déposez un fichier .txt / .csv. L'outil le lit dans votre navigateur — rien n'est envoyé à un serveur.
Vérifier l'aperçu
Il détecte automatiquement le délimiteur et affiche un tableau en direct avec le nombre de lignes et colonnes pour repérer les problèmes avant téléchargement.
Télécharger le CSV
Gardez la sortie en CSV (ou choisissez un autre format) et cliquez sur Télécharger ou Copier. Le fichier apparaît instantanément dans votre dossier de téléchargements.
Un convertisseur texte et CSV complet
Détection intelligente du délimiteur
Reconnaît automatiquement la virgule, tabulation, barre verticale et point-virgule, avec réglage manuel et analyse en largeur fixe.
Aperçu tabulaire en direct
Visualisez vos données en grille avant l'export, avec avertissement si le nombre de colonnes est incohérent.
Compatibilité Excel
UTF-8 BOM pour l'encodage correct et option Excel qui protège les zéros de tête et les longs nombres.
Dix formats de sortie
CSV, TSV, pipe, espace, point-virgule, délimiteur personnalisé, largeur fixe, texte brut, tableau HTML et JSON — un outil, tous les formats.
Confidentiel par conception
Toute l'analyse se fait localement dans votre navigateur. Votre texte ne quitte jamais votre appareil, ce qui le rend sûr pour les données sensibles.
Copier, télécharger, historique
Copiez le résultat, téléchargez un fichier ou rouvrez une conversion récente enregistrée localement.
Qui l'utilise — et pour quoi
Des tâches ponctuelles rapides aux flux de travail quotidiens, voici les scénarios où ce convertisseur fait gagner du temps.
Nettoyer un rapport collé
Copiez des lignes d'un PDF, e-mail ou tableau web, collez-les, et obtenez un CSV propre prêt pour Excel ou Google Sheets. L'aperçu détecte les colonnes irrégulières avant l'import.
Convertir un log ou export de config
Logs délimités par pipe, config alignées par espaces et réponses JSON d'API se convertissent en une étape. Sélectionnez le format d'entrée, choisissez CSV ou TSV et copiez le résultat dans votre code.
Préparer un import de contacts
Convertissez une liste de noms, e-mails et téléphones en CSV structuré prêt pour Mailchimp, HubSpot ou Salesforce. Utilisez l'option d'en-tête pour étiqueter chaque colonne.
Corriger le format d'export bancaire
De nombreux exports bancaires utilisent point-virgule ou pipe qu'Excel interprète mal. Convertissez en CSV virgule avec UTF-8 BOM et nombres compatibles Excel pour préserver zéros et IDs longs.
Structurer une liste de mots-clés
Collez un export de mots-clés de Google Search Console, Ahrefs ou SEMrush, détectez le délimiteur automatiquement et téléchargez un CSV propre à trier et filtrer immédiatement.
Traiter des fichiers de largeur fixe
Les ERP et systèmes bancaires anciens produisent souvent des fichiers en largeur fixe. Indiquez les largeurs manuellement et l'outil découpe chaque ligne en colonnes correctes sans écrire de code.
Formats de sortie expliqués
Choosing the right output format is the difference between data that just works and a file another program rejects. Here is what each option in the Sortie en menu produces, and when to use it.
CSV (comma-separated values)
The default and most portable choice. Fields are separated by commas and any field containing a comma, quote or line break is wrapped in double quotes, following the standard CSV rules. CSV opens in Excel, Google Sheets, databases and virtually every data tool.
TSV, pipe, semicolon and custom delimiters
Sometimes your data already contains commas, or a target system expects another separator. Tab-separated (TSV) is the safest for messy text; pipe (|) and semicolon (;) are common in exports and European spreadsheets. Pick Délimiteur personnalisé to type any character.
Which delimiter should you pick?
For Excel and Google Sheets
CSV works everywhere; if your locale uses a comma as the decimal mark, semicolon-delimited may import more cleanly. Enable UTF-8 BOM so non-Latin text is read correctly.
For databases and legacy systems
Tab or pipe delimiters avoid clashes with comma-containing values. Many import tools and older systems specifically expect pipe-delimited or fixed-width files.
A note on quotes and encoding
Use Tout entre guillemets when an importer is strict, or Sans guillemets for the simplest possible output. Keep encoding as UTF-8 to preserve accents and CJK characters.
Fixed-width and plain text
Fixed-width pads every column to a set width so the file lines up in a monospace view — still used in banking and mainframe feeds. Plain text strips structure for a human-readable list, one row or one cell per line.
HTML table and JSON
Generate an HTML <table> to paste straight into a web page, or export JSON (an array of objects keyed by your header row) for APIs and JavaScript. These are the convert csv to html table and json to csv jobs handled on their own pages too.
Conversions texte et CSV populaires
Each of these has a dedicated, focused tool with examples and tips:
Situations concrètes résolues
- Tidy a copied list. Paste names, emails, addresses or a keyword list and get a structured CSV for a spreadsheet or import tool.
- Reshape an export. Convert a system's CSV into tab, pipe, space or fixed-width text so another tool can read it without writing code.
- Clean scraped or OCR text. Turn pasted, semi-structured text into a table you can analyze in seconds, not minutes.
- Prepare a database import. Standardize many text files into consistent CSV, then load them into a database or BI tool.
- Fix Excel headaches. Keep leading zeros, long IDs and encoding intact when opening CSV in Excel using BOM and Excel-safe number options.
- Convert for APIs. Export as JSON to feed your data directly to an API or JavaScript application without a separate conversion step.
De confiance pour des conversions rapides
"J'ai collé une liste de 2 000 lignes et obtenu un CSV propre en quelques secondes. L'option Excel a sauvé mes codes postaux."
— Analyste de données"Enfin un convertisseur qui n'envoie pas mes fichiers. La détection du délimiteur fonctionne parfaitement."
— Développeur backend"L'aperçu détecte les mauvaises lignes avant l'import. Un gain de temps énorme."
— Ingénieur opsConvertisseur texte vers CSV — questions fréquentes
Comment convertir du texte en CSV ?
Paste your text into the converter above (or upload a .txt file), and it instantly detects the delimiter and shows a table preview. Keep the output set to CSV and click Télécharger le résultat or Copier. Everything runs in your browser, so your data is never uploaded.
Comment choisir le bon délimiteur ?
Leave the input on Détection auto and the tool guesses comma, tab, pipe or semicolon from your data. If the columns look wrong, set the input format to Texte délimité and pick the delimiter manually, or use Largeur fixe for space-aligned columns.
Prend-il en charge d'autres langues et UTF-8 ?
Yes. Text is handled as UTF-8, so accents, Chinese, Japanese and other characters are preserved. For Excel, tick UTF-8 BOM so it opens non-Latin characters correctly instead of showing garbled text.
S'ouvre-t-il correctement dans Excel ?
Yes. Use CSV output and enable UTF-8 BOM for encoding, and Nombres compatibles Excel to keep leading zeros and long IDs from turning into scientific notation. See fix CSV Excel formatting issues for the full guide.
Y a-t-il une limite de taille ?
There is no hard limit, but very large files depend on your device's memory since everything runs locally. For big jobs see the large text file to CSV converter, and for many files at once use the batch converter.
Puis-je reconvertir un CSV en texte ?
Yes — use Inverser, or open the CSV vers texte and CSV to delimited text tools to export tab, pipe, space or fixed-width text from any CSV.
L'outil est-il totalement gratuit ?
Yes. There is no sign-up, no account, no paywall and no file size tier. Every feature is available to everyone. The site is supported by unobtrusive advertising, which keeps it free without restricting any functionality.
Quels types de fichiers puis-je téléverser ?
You can upload .txt, .csv, .tsv and .json files by clicking the drop zone or dragging a file onto it. You can also paste text directly from the clipboard, including rows copied from Excel, Google Sheets or any web table.
Puis-je convertir JSON en CSV ?
Yes. Select JSON as the input format (or leave it on Auto-detect) and the tool flattens a JSON array of objects into CSV rows, one object per row. Nested objects are stringified. For a dedicated view see the JSON vers CSV page.
Fonctionne-t-il hors ligne ?
Once the page has fully loaded, the conversion engine works entirely without a network connection. All processing is done in your browser using JavaScript, so you can convert files even on an airplane or with a spotty connection.
Que fait "Nombres compatibles Excel" ?
Excel automatically reformats certain values when it opens a CSV: zip codes starting with 0 become plain integers, and long numeric IDs (16+ digits) get converted to scientific notation. Enabling Nombres compatibles Excel wraps those values in quotes or adds an equals-sign prefix so Excel treats them as text and preserves every digit.
Puis-je convertir une liste (un élément par ligne) en colonnes CSV ?
Yes. If each line in your list represents a row, paste it in and use Auto-detect — the tool will treat each line as a single-column row. If you want multiple items per row joined by a delimiter, set the output to your preferred format and use the Colonnes texte vers CSV tool for more control over multi-column layouts.