File formats
A file format defines the internal byte arrangement that software uses to read and store information on a disk. Extensions like .json or .pdf indicate to an operating system which parser can interpret the data. Without explicit encoding rules, a program cannot determine where file metadata ends and raw content begins. For example, a CSV file organizes tabular records using plain text separated by commas and line breaks, which classifies it as structured data despite the lack of an explicit schema. A PDF file works differently by embedding vector graphics and compressed fonts into an indexed binary graph that renders identically across different operating systems.
This category covers common file formats used for structured datasets and digital documents. The guides explain how each format encodes data and which software can open or convert it. Technical comparisons examine specific trade-offs between formats, such as why JSON serializes key-value pairs with less parsing overhead than XML, which relies on nested tag syntax and formal schema validators. Readers can look up individual extensions to verify MIME types and select the appropriate format for a specific workflow.
Latest pages
- What Is a RAW Image File and Why Photographers Shoot It
A RAW image file contains uncompressed, unprocessed sensor readings captured when a digital camera exposes a scene. Unlike standard picture formats that lock in white balance and compression, RAW data preserves complete light measurements and high bit depths. This gives photographers maximum control during post-processing to adjust exposure, correct color balance, and preserve highlight details.
- EPUB File Format Explained: How Digital Books Work
An EPUB (electronic publication) file is an open, standardized digital book format that packages styled web text, navigation documents, and images inside a compressed container. The format reflows content dynamically across diverse display sizes, making it the primary industry standard for digital publishing outside proprietary vendor hardware.
- JPEG vs WebP vs AVIF: Architecture and Web Performance
WebP and AVIF deliver smaller file sizes and advanced feature support compared to legacy JPEG, reducing network payload requirements across the web. WebP offers rapid encoding times alongside universal browser compatibility, making it practical for real-time user uploads. AVIF provides the highest compression ratios and supports high dynamic range color, though its slower encoding process makes it best suited for pre-rendered static assets.
- Video Container vs Codec: Key Technical Differences
A video codec is an algorithm that compresses and decompresses raw video and audio streams, whereas a video container is the file wrapper that packages those encoded streams together alongside subtitles, timestamps, and metadata. The file extension indicates the container format, but it does not reveal which specific codec was used to compress the media inside.
- Lossy vs Lossless Audio: Formats and Quality
Lossy audio formats remove inaudible acoustic data to create small files suitable for streaming and portable storage. Lossless audio preserves all original recording information, reconstructing exact bitstreams at the cost of higher bandwidth and larger storage footprints. Most casual listeners using wireless hardware cannot distinguish between the two, making high-bitrate lossy audio practical for daily playback.
- Raster vs Vector Image Formats: Key Differences
Raster images store visual information in a grid of colored pixels, while vector images build graphics using mathematical coordinates, lines, and curves. Because of this structural difference, raster files lose quality and show pixelation when magnified, whereas vector files scale infinitely without distortion. Raster formats handle complex color transitions in photography, while vectors suit logos, icons, and graphic design.
- ZIP File vs ZIP Archive: How File Formats Work
A zip file is a concrete file container adhering to the PKWARE specification, whereas a zip archive refers to the broader structural concept of aggregating multiple files, directories, and metadata into a single package. The ZIP architecture compresses stored files individually and lists them in an end-of-file central directory index. This layout enables operating systems to inspect, extract, and update individual records without decompressing the entire archive.
- What Is the Difference Between JSON and XML?
JSON is a lightweight data interchange format organized around key-value pairs and native types, making it the dominant standard for modern web and mobile APIs. XML is a markup language that utilizes custom tag hierarchies, schemas, and namespaces to structure complex documents and enforce strict enterprise contracts. While JSON prioritizes parsing speed and minimal payload size, XML provides robust document validation and metadata capabilities.
- Is a CSV File Structured or Unstructured Data?
A comma-separated values (CSV) file is best classified as semi-structured data because it organizes records into tabular rows and columns without enforcing strict types or relational constraints. In common business applications, engineers often refer to it as structured data because tabular programs ingest its delimited fields into clean matrices without complex transformations. It does not qualify as unstructured data because it adheres to a predictable delimiter pattern rather than arbitrary text.
- What Is a PDF File and How Does It Work?
A PDF (Portable Document Format) is a file format designed to display documents consistently across any hardware, software, or operating system. Developed by Adobe and standardized under ISO 32000, it fixes text, fonts, vector lines, and raster images to an exact coordinate grid. This ensures that every page renders and prints identically regardless of the viewing application.