Back
Base64 Tool
Encode text or files to Base64, or decode Base64 back to text. Local-only processing with optional URL-safe encoding.
Input
Max 2MB
0 chars
Output
Enter text or upload a file to encode
Base64 Tool: Guide
- Intent
- Encode text or files to Base64, or decode Base64 back to text. Simple, fast, and local-only.
- What it does
- Encodes text or binary files to Base64 format, or decodes Base64 strings back to their original form. Supports URL-safe Base64 variant.
- Key features
- Text-to-Base64 encoding, Base64-to-text decoding, File upload support, URL-safe Base64 option, Copy and download results
- Privacy
- Runs locally in your browser. Files and text are not uploaded.
- Best for
- Encoding binary data for email or JSON transmission
- Decoding Base64 strings from APIs or configurations
- Creating data URIs for small images
- Debugging Base64-encoded data
- Why this tool
- Simple two-way conversion
- File upload support for binary encoding
- URL-safe Base64 for web applications
- No external uploads required
How to use
- 1Select Encode or Decode mode.
- 2For encoding: paste text or upload a file (max 2MB).
- 3For decoding: paste a Base64 string.
- 4Toggle URL-safe option if needed for web use.
- 5Copy the result or download as a file.
Common mistakes
- Forgetting to toggle URL-safe mode when working with web URLs.
- Trying to decode invalid Base64 strings (must be valid characters and proper padding).
- Very large files may exceed the 2MB limit.
Examples
Encode text to Base64
Input: Hello World
Output: SGVsbG8gV29ybGQ=
Decode Base64 to text
Input: SGVsbG8gV29ybGQ=
Output: Hello World