UUID to Base64
Convert any RFC 4122 UUID into compact Base64 encoding instantly. Ideal for storage, URLs, or API payloads.
UUID to Base64
Powered byJavaScript & RFC 4122
All conversion happens locally in your browser. Nothing is sent to any server.
Paste UUIDs and click Convert to get Base64 encodings.
Why convert a UUID to Base64?
Base64 reduces UUID length from 36 characters to 22 (with URL-safe encoding). That saves space in URLs, tokens, and database keys while preserving uniqueness.
Standard encoding
This tool uses URL-safe Base64 (RFC 4648) without padding, producing the common 22-character ID format.
Works with any UUID
Supports all RFC 4122 UUID versions (v1–v7) and validates the input before conversion.
Great for URLs
Use Base64 UUIDs in URLs, tokens, or compact identifiers without breaking URL encoding.
What is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit value standardized by RFC 4122. It's commonly represented as a 36-character string with hyphens.
UUIDs are designed to be globally unique without coordination. Converting them to Base64 provides a compact representation while preserving the full 128 bits of entropy.
- 128 bits = 16 bytes
- Standard UUID string is 36 characters (32 hex + 4 hyphens)
- Base64 output is 22 characters (URL-safe, no padding)
- Useful for compact IDs, tokens, and URLs
UUID Format
32 bits
16 bits
16 bits
16 bits
48 bits
This tool converts those 16 raw bytes into compact URL-safe Base64.
UUID Versions Compared
All UUID versions can be represented as Base64 since they share the same 128-bit size.
| Version | Generation Method | Use Case | Requires |
|---|---|---|---|
| v1 | Timestamp + MAC address | Ordered IDs, logs | Network interface |
| v2 | DCE security (UID/GID) | Legacy DCE systems | System identity |
| v3 | MD5 hash of namespace+name | Deterministic IDs | Namespace + name |
| v4 | Random | General purpose — UUID v4 Generator → | None |
| v5 | SHA-1 hash of namespace+name | Deterministic IDs (secure) | Namespace + name |
| v6 | Reordered timestamp (RFC 9562) | Sortable time-based IDs | Clock + node |
| v7 | Unix timestamp + random (RFC 9562) | Database-friendly sortable IDs | None |
Example UUIDs
Click an example UUID to convert it to Base64.
How This UUID → Base64 Tool Works
This tool validates that input matches the RFC 4122 UUID pattern, then converts the 16 raw bytes into URL-safe Base64 (no padding), producing a compact 22-character string.
Conversion happens entirely in your browser—no data leaves your device.
Common Use Cases
This tool is useful when you need to:
Frequently Asked Questions
Answers to common questions about UUID → Base64 conversion.
Complete UUID Tools Directory
WebEasier hosts a full ecosystem of UUID-related developer tools.
UUID Validation
UUID Parsing
UUID Formatting
UUID Conversion
Developer UUID Generators
Alternative ID Generators
25+ UUID & ID Tools
WebEasier is building the most complete UUID tools ecosystem on the web.
View All ToolsExplore All Free Developer Tools
QR codes, barcodes, image tools, converters and more — all free, all client-side.