TXT (Texte brut)
TXT (texte brut) est le format de fichier le plus simple et le plus universel — du texte pur sans aucun formatage, métadonnées ou structure. Les fichiers texte brut peuvent être ouverts par n'importe quel éditeur de texte sur n'importe quel système d'exploitation.
Type MIME
text/plain
Type
Texte
Compression
Sans perte
Avantages
- + Opens in every text editor on every operating system
- + Zero overhead — file size equals content size
- + No risk of embedded malware or macros
- + Perfect for version control, piping, and scripting
Inconvénients
- − No formatting, images, or structured data
- − Character encoding must be known to display correctly
- − Not suitable for documents that need visual presentation
Quand utiliser .TXT
Utilisez TXT pour les notes, les journaux, les fichiers de configuration, le code source et le stockage de données brutes. Préférez Markdown pour le texte brut structuré avec un formatage minimal.
Détails techniques
Les fichiers TXT contiennent des séquences d'octets brutes interprétées comme du texte. L'encodage (UTF-8, ASCII, Latin-1) détermine la correspondance des caractères. Les fins de ligne varient selon la plateforme (LF pour Unix, CRLF pour Windows, CR pour l'ancien Mac). Pas de métadonnées ni de formatage intégrés.
Historique
Les fichiers texte brut sont aussi anciens que l'informatique elle-même, remontant au code ASCII (1963). L'encodage UTF-8 (1993) a étendu le texte brut pour prendre en charge toutes les langues du monde. Le texte brut reste le format le plus universel et pérenne.
Convertir depuis .TXT
Convertir en .TXT
Formats associés
Termes associés
Learn More
How to Generate Strong Random Passwords
Password generation requires cryptographic randomness and careful character selection. This guide covers the principles behind strong password generation, entropy calculation, …
How to Merge PDF Files Without Losing Quality
Combining multiple PDF documents into a single file is one of the most common document tasks. This guide walks you …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
How to Format and Validate JSON Data
Malformed JSON causes silent failures in APIs and configuration files. Learn how to format, validate, and debug JSON documents to …