Welcome to the Zig Standard Library book.

Search for a specific standard library module or explore additional references as they land. Each category stays in lockstep with Zig's lib/std/ tree, so you never chase stale references.

Categories

11

of 11 total

Modules

69

context entries available

11 categories · 69 modules available Showing all 11 categories · 69 modules

Collections

Collections & Containers

Data structures, buffer managers, and container abstractions for high-performance Zig code.

Array Hash Map Array List Bit Set Bit Stack Buf Map +11 more modules available
Explore docs

Algorithms

Algorithms & Numerics

Sorting, randomization, math helpers, and SIMD acceleration primitives.

Math Random Simd Sort
Explore docs

Encoding

Text & Encoding

Formatting, serialization, and text-processing helpers for structured data.

Ascii Base64 Fmt Json Unicode +1 more modules available
Explore docs

Formats

Binary & Archive Formats

Utilities for structured file formats, archives, and semantic versioning.

Compress Leb Semantic Version Tar Zip +1 more modules available
Explore docs

Systems

Core Systems

Low-level concurrency, metaprogramming, memory, and language runtime building blocks.

Atomic Builtin Enums Mem Meta +2 more modules available
Explore docs

Crypto

Cryptography & Hashing

Cryptographic primitives, hashing utilities, and secure random helpers.

Crypto Hash
Explore docs

Observability

Diagnostics & Observability

Logging, debugging, tracing, and progress reporting utilities.

Debug Log Progress
Explore docs

Networking

Networking & Protocols

Transport stacks, HTTP client utilities, and URI helpers for networked applications.

Http Net
Explore docs

Platform

Platform & Runtime

Operating system bindings, filesystem helpers, timers, and IO abstractions.

Fs Gpu Io Os Posix +3 more modules available
Explore docs

Testing

Testing & Quality

Testing harnesses, assertions, and quality-of-life helpers for validation.

Testing
Explore docs

Toolchain

Toolchain & Binaries

Build orchestration, target metadata, dynamic libraries, and binary format tooling.

Build C Coff Dwarf Dyn Lib +9 more modules available
Explore docs