Taprico
Developer Studio UTF-8 / URL 100% Client-Side

Base64 Encoder, Decoder & File Data-URI Studio

Encode or decode UTF-8 text and URL-safe Base64 strings, or convert images and files directly into inline CSS/HTML Data URIs.

Plain UTF-8 Input
Base64 Output

True UTF-8 & Emoji Support

Uses modern TextEncoder/TextDecoder APIs so accented characters, symbols, and emojis never corrupt.

RFC 4648 URL-Safe Toggle

Convert standard Base64 (+, /, =) to URL/JWT-safe (-, _) format in one click.

File & Image Data-URI Studio

Drop SVG, PNG, WebP, or JSON files to copy raw Base64, CSS url(), or HTML <img> snippets.

How to Use Base64 Studio

  1. 1 Choose Encode or Decode mode in the Text Studio tab and paste your plain text or Base64 string.
  2. 2 Enable the URL-Safe (RFC 4648 §5) switch when working with JWT segments, OAuth PKCE verifiers, or query parameters.
  3. 3 To convert an asset, open the File to Base64 tab and drop any file from your computer.
  4. 4 Copy the generated Data URI, CSS background snippet, or raw Base64 string locally.

Standard Base64 vs. Base64URL (And Why btoa() Breaks Unicode)

Legacy browser helpers like window.btoa() throw an InvalidCharacterError whenever input text contains characters outside Latin-1 (such as smart quotes, math symbols, or international names). Taprico encodes text into UTF-8 byte arrays first before converting to Base64.

Standard Base64 includes +, /, and = padding characters that carry special meaning in URLs. Base64URL swaps + for -, / for _, and optionally omits trailing = padding—making it safe inside query strings, filenames, and JWT headers.

Frequently Asked Questions

Does Base64 encrypt my text or secrets? +

No. Base64 is strictly an ASCII text encoding scheme, not encryption. Anyone can decode a Base64 string immediately without a key.

Why is a Base64 string roughly 33% larger than the original file? +

Base64 represents every 3 bytes (24 bits) of binary input using 4 printable ASCII characters (6 bits each), resulting in a deterministic 4:3 (~33%) size overhead.

Can I preview an encoded image Data URI? +

Yes. When you paste a valid data:image/... string or drop an image file in the File tab, Taprico renders a live preview alongside its byte dimensions.