HomeToolboxBase64 Encoder/Decoder

Base64 Encoder/Decoder

Convert text or images to Base64 and vice versa, 100% client-side with preview.

Encode and decode text or images to Base64 in the browser. Features UTF-8 safe conversion for strings, and supports uploading local files to output Base64 DataURLs or decoding Base64 back into downloadable files.

How to use

  1. 1Text Mode: Type text in the input box to auto-generate Base64, or paste Base64 on the right and click decode
  2. 2File Mode: Drag or click to upload any file/image. The tool outputs its Base64 DataURL for easy copying
  3. 3File Decode: Paste a Base64 string into the panel. The tool previews it (if an image) and lets you download it as a binary file
正在载入 Base64 编解码引擎...