Base64
Encode and decode Base64 strings and files
Use the interactive tool with JavaScript enabled.
Encode and decode Base64 strings and files
Use the interactive tool with JavaScript enabled.
Convert text or binary data to Base64 and back in seconds. Supports both standard Base64 and URL-safe Base64 (RFC 4648), which replaces + with - and / with _ for use in JWTs and URLs. Paste text or upload a file — the output appears instantly without any server round-trip. Useful for embedding images in HTML as data URIs, encoding API payloads, and debugging authentication tokens.
Tool processing runs in your browser. Privacy policy and cookie preferences.