Base64编码器
对 Base64 字符串进行编码和解码
文本编码
Base64 输出
Use these tools directly in Chrome
Install the DailyDevTools extension — access all tools from your browser toolbar
What is Base64 Encoder?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It is widely used to embed binary data — images, files, certificates — into text formats like JSON, XML, HTML, and email headers. DailyDevTools' Base64 Encoder/Decoder converts text and binary data to and from Base64 instantly in your browser, supporting both standard and URL-safe Base64 variants with no server involved.
How to use Base64 Encoder
- 1Type or paste your text in the input field, or switch to File mode to upload any binary file
- 2Click Encode to convert your input to Base64, or paste an existing Base64 string and click Decode
- 3Toggle URL-safe mode to use - and _ instead of + and / for safe use in URLs and filenames
- 4Click Copy to copy the result directly to your clipboard