MojoUtils

Base64 编码/解码器

对 Base64 字符串进行编码或解码

开发者工具

Input

Output

Base64 Encoder/Decoder converts binary data to ASCII text and back. It's widely used in web development for embedding images in HTML/CSS, encoding data in JWTs, sending binary data in APIs, and storing complex data in text-based formats like JSON and XML.

使用方法

  1. 1Paste the text or Base64 string you want to convert.
  2. 2Click "Encode" to convert plain text to Base64.
  3. 3Click "Decode" to convert a Base64 string back to plain text.
  4. 4The output appears below immediately.
  5. 5Copy the result with the copy button.

功能特点

  • Encode any text to Base64
  • Decode Base64 strings back to plain text
  • Handles UTF-8 characters correctly
  • Runs entirely in your browser — private and secure
  • Free with no registration

常见问题