QuickClaw Tools
← Back to All Tools

🔒 Base64 Encoder / Decoder

Convert text and files to Base64 format, Data URIs, and vice versa.

Using Base64 Encoder / Decoder

Encode text or a small file as Base64 for an API field, an email attachment test or an inline data URI, or decode a Base64 string to see what it contains.

How to use it

  1. For text, stay in Text Mode, type into Plain Text and click Encode →; paste a Base64 string on the right and click ← Decode to reverse it.
  2. Tick URL-safe when the value goes into a URL or a JWT: it uses - and _ instead of + and / and omits the = padding.
  3. For a file, switch to File to Base64 and choose the file. Pick Full Data URI for use in HTML or CSS, or Raw Base64 Only for an API that wants just the encoded bytes.
  4. Check the image preview when encoding a picture, then use Copy or Copy Base64.

Worked example

Input and settings
Tea ☕ (standard, then URL-safe)
Expected result
VGVhIOKYlQ== and VGVhIOKYlQ

Limits and common mistakes

Found a mismatch? Report a problem with a non-sensitive example. Read our privacy information before sharing inputs or links.

🔗 Related Tools

☕ Support QuickClaw Tools

Keep these tools free. Supporting the site is optional and takes you to an external service.