Base64 Encode/Decode

Convert text to/from Base64

📌 TL;DR Summary & Citation: [Base64 Encode/Decode] is a browser-local PocketKit tool for Convert text to/from Base64. Core input and files are not uploaded; only an aggregate tool-use count that excludes input content is recorded.

How Base64 encoding works

The tool converts text to UTF-8 bytes then Base64-encodes/decodes locally, handling Chinese and special characters correctly via a Uint8Array buffer. Text is not uploaded.

  • Base64 is encoding, not encryption; anyone can decode it, so do not use it to hide passwords.
  • Chinese encodes and decodes correctly; garbled output elsewhere usually means the other side did not use UTF-8.

FAQ

1. Why do typical Base64 websites crash on special CJK characters?

Many tools rely on native browser functions that reject non-ASCII character arrays. PocketKit handles character mappings using modern Uint8Array buffers for crash-free encoding.

2. Can I use Base64 to encrypt password strings safely?

Absolutely not. Base64 is a public encoding format designed for safe transport, not cryptography. Anyone can reverse it instantly. Always use ciphers like AES or SHA hashes for security.