TXT (Plain Text)
TXT เป็นรูปแบบไฟล์ที่ง่ายที่สุด เป็นข้อความธรรมดาที่ไม่มีการจัดรูปแบบ รูปภาพ หรือ metadata บรรจุเฉพาะข้อมูลตัวอักษรที่เข้ารหัสใน ASCII, UTF-8 หรือการเข้ารหัสตัวอักษรอื่น ไฟล์ข้อความธรรมดาสามารถอ่านได้ทุกที่และเป็นรากฐานของรูปแบบอื่นๆ อีกมากมาย
ประเภท MIME
text/plain
ประเภท
ข้อความ
การบีบอัด
ไม่สูญเสียคุณภาพ
ข้อดี
- + 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
ข้อเสีย
- − No formatting, images, or structured data
- − Character encoding must be known to display correctly
- − Not suitable for documents that need visual presentation
เมื่อใดควรใช้ .TXT
ใช้ TXT สำหรับบันทึกล็อก หมายเหตุการตั้งค่า การดัมพ์ข้อมูลอย่างรวดเร็ว และเนื้อหาใดก็ตามที่ไม่จำเป็นต้องจัดรูปแบบ
รายละเอียดทางเทคนิค
ไฟล์ .txt คือลำดับของไบต์ที่แทนตัวอักษรในการเข้ารหัสเฉพาะ ไม่มี header, metadata หรือโครงสร้างนอกเหนือจากการขึ้นบรรทัดใหม่ (LF บน Unix/macOS, CR+LF บน Windows)
ประวัติ
ไฟล์ข้อความธรรมดามีมาก่อนคอมพิวเตอร์สมัยใหม่ โดย ASCII ได้รับการกำหนดมาตรฐานในปี 1963 UTF-8 ที่สร้างขึ้นในปี 1993 ขยายข้อความธรรมดาให้รองรับระบบการเขียนทุกแบบและกลายเป็นการเข้ารหัสหลักบนเว็บ
แปลงจาก .TXT
แปลงเป็น .TXT
รูปแบบที่เกี่ยวข้อง
คำศัพท์ที่เกี่ยวข้อง
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 …