Encode text as Base64 or decode a Base64 value
Base64 represents binary data as printable ASCII characters. Developers encounter it in API payloads, data URLs, email attachments, certificates, and configuration values. Enter plain text and encode it to Base64, or paste a Base64 string to recover its decoded text. The tool is useful for quick inspection and debugging when no command-line utility is available.
Base64 is encoding, not encryption: anyone can decode it, so it must not be used to hide passwords, tokens, personal data, or confidential messages. Encoded data is usually about one third larger than the original and may end with equals signs used as padding. Text decoding also depends on character encoding; this tool uses browser-safe Unicode handling, while legacy systems may expect a different byte representation. Invalid characters or missing bytes can cause decoding errors or unreadable output.