Treating Base64 as security
Base64 is reversible encoding, not encryption. Do not use it to hide passwords, API keys, tokens, or private data.
Encode text to Base64 or decode Base64 back to readable text in your browser. Supports UTF-8, Base64URL-style debugging, Data URI workflows, copy/download output, and no-upload privacy.
Continue with a related workflow or open the next tool that usually follows this task.
Use this workflow when an API response, webhook, cookie, or configuration value contains Base64 text that needs to be inspected before debugging.
OpenRelated toolDecode JWT header, payload, claims, and expiration locally.
OpenRelated toolGenerate static QR codes for URLs, Wi-Fi, contacts, and text as PNG or SVG.
OpenRelated toolEncode or decode query strings, redirects, and URL components locally.
OpenChoose Encode (text → Base64) or Decode (Base64 → text).
Paste or type your input; Live mode updates instantly (use Manual for large data).
Copy the output or download it as a .txt file.
Use Swap to send output back to input and switch modes fast.
For Data URIs, prepend a prefix like data:text/plain;base64, to the encoded result.
Encode Unicode strings into ASCII-safe Base64 for webhook payloads, JSON fields, and text-only API parameters.
Decode encoded values from logs or responses before comparing the original JSON, token, or message body.
Inline small images or assets with data:image/png;base64,... when a tiny self-contained snippet is more useful than a separate file.
Inspect Base64URL-encoded headers/payloads in JWTs during development.
Store non-secret binary or Unicode values in config files, environment examples, or text-only systems.
Base64 is reversible encoding, not encryption. Do not use it to hide passwords, API keys, tokens, or private data.
Standard Base64 and Base64URL use different characters for URLs and JWTs; confirm padding and character rules before pasting into an API.
Base64 grows data by about one third, so embedding large files can make JSON, HTML, emails, or config files heavy.
Unicode text becomes ASCII-safe Base64 for APIs, message queues, or config systems that expect text-only values.
Hello, 안녕하세요, 👋SGVsbG8sIOyViOuFle2VmOyEuOyalCwg8J+Riw==Decode an encoded JSON field before inspecting its original value in a bug report, webhook, or API response.
eyJzdGF0dXMiOiJvayIsInJvbGUiOiJhZG1pbiJ9{"status":"ok","role":"admin"}Base64 represents binary data with 64 ASCII characters; '=' padding keeps output length aligned to 4-character blocks (RFC 4648).
Encoding processes every 3 input bytes as 4 Base64 characters, increasing size by roughly one third.
Base64URL is the URL-safe variant used by JWTs and web protocols; Base64 itself is still not encryption.
A. No. Base64 is encoding, not encryption. Anyone can decode it. Use HTTPS for transport security and real cryptography for confidentiality.
A. Encoding maps 3 bytes to 4 Base64 characters (≈33% increase) and uses '=' padding to make the length a multiple of 4.
A. Yes. UTF-8 support handles all Unicode correctly, including Korean, Chinese, emojis, and accented letters.
A. This tool is optimized for text. For binary files, use a file-to-Base64 workflow or a Data URI generator and avoid embedding very large files in JSON or HTML.
A. Base64URL replaces '+' and '/' with '-' and '_' and often omits '=' padding. JWT header and payload parts use Base64URL, so standard Base64 strings may need conversion before use in URLs.
Use these focused guides when you need a practical workflow before opening the tool.
Use this workflow when an API response, webhook, cookie, or configuration value contains Base64 text that needs to be inspected before debugging.
Workflow guideUse this workflow when a vendor, GitHub release, or teammate gives you a checksum and you need to confirm that the file you downloaded has not changed.
Workflow guideUse this workflow when a login, API request, or permission check fails and you need to inspect token claims before changing auth code.
Workflow guideUse this workflow when a URL needs to move from paper, a slide, a package, or a physical sign into a phone camera quickly.
Workflow guideUse this workflow when a link, redirect URL, webhook callback, or API request fails because a query parameter contains reserved characters.
Workflow guideUse this workflow when you need realistic unique identifiers for examples, tests, seeded records, or temporary objects without exposing production IDs.
Explore more developer tools
Decode JWT header, payload, claims, and expiration locally.
Generate static QR codes for URLs, Wi-Fi, contacts, and text as PNG or SVG.
Encode or decode query strings, redirects, and URL components locally.
UTF-8 Encoding Support: Encode or decode Base64 with complete UTF-8 support (RFC 4648).
Standard: RFC 4648 - The Base16, Base32, and Base64 Data Encodings
💡 Live Mode: Results update automatically as you type.