AnyNPC
Input
Output
Result will appear here...
0 chars|Size: 0 B

Base64 Encode / Decode

Base64 encoder and decoder. Encode text to Base64 or decode Base64 back to readable text with real-time auto-detection. Supports UTF-8 characters including emojis, Chinese, and other non-Latin scripts. Features include drag-and-drop file upload, one-click copy, and download results as text files. All processing runs locally in your browser — your data never leaves your device.

Features

  • Real-time auto-detection — just paste text or Base64 and the tool figures out the direction instantly
  • Smart mode toggle — switch between Auto (recommended), Encode, or Decode with one click
  • Full UTF-8 support — correctly handles emojis (🚀), Chinese (中文), Japanese (日本語), accented letters (é), and any Unicode characters
  • Instant conversion — results update as you type, no button to press
  • Drag-and-drop file upload — drop .txt or .base64 files anywhere on the workspace, or click the upload icon
  • One-click copy — copy the result to your clipboard with visual confirmation feedback
  • Download as file — save the result as a .txt file for sharing or storage
  • Clear input — one-click to reset everything and start fresh
  • Input persistence — your text is saved automatically and restored when you return
  • Character count and file size — real-time stats displayed in the status bar
  • Entirely client-side — all processing happens in your browser, zero data uploaded

How to Use

  1. 1Paste your text or Base64 string into the input area. The tool instantly detects the format and converts it automatically.
  2. 2If auto-detection doesn't match what you need, click Encode or Decode in the mode bar to manually set the direction.
  3. 3Upload a file by clicking the folder icon and selecting a .txt or .base64 file, or drag and drop a file directly onto the workspace.
  4. 4Review the result in the output area below. Click Copy to copy it to your clipboard, or Download to save it as a .txt file.
  5. 5Click the Clear button (trash icon) to reset everything and start a new conversion.
  6. 6Use the example buttons below the input area to load sample data and see how the tool works.

Frequently Asked Questions

Related Tools