編碼為 Base64

按照 RFC 4648 的 Base64 編碼规則,将任意位元組資料轉換為可打印的 ASCII 文本。

輸入: 文本 (UTF-8) / 檔案結果: 文本

文本輸入

執行後查看結果

範例

Represent bitcoin genesis newspaper headline

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

輸入

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

VGhlIFRpbWVzIDAzL0phbi8yMDA5IENoYW5jZWxsb3Igb24gYnJpbmsgb2Ygc2Vjb25kIGJhaWxvdXQgZm9yIGJhbmtz
字母表
A-Za-z0-9+/=
Represent a registry credential from kubernetes documentation

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

輸入

tiger:pass1234

Expected answer

dGlnZXI6cGFzczEyMzQ=
字母表
A-Za-z0-9+/=
Represent a checksum-sensitive log line with a final newline

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

輸入

event=deploy status=ready

Expected answer

ZXZlbnQ9ZGVwbG95IHN0YXR1cz1yZWFkeQo=
字母表
A-Za-z0-9+/=
Represent a french café in precomposed unicode

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

輸入

café

Expected answer

Y2Fmw6k=
字母表
A-Za-z0-9+/=
Represent a french café with a separate combining accent

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

輸入

café

Expected answer

Y2FmZcyB
字母表
A-Za-z0-9+/=
Represent chinese text in a utf-8 request body

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

輸入

你好,世界

Expected answer

5L2g5aW977yM5LiW55WM
字母表
A-Za-z0-9+/=
Represent a literal plus and space inside a url parameter

Use base64 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

輸入

release notes+A/B?

Expected answer

cmVsZWFzZSBub3RlcytBL0I/
字母表
A-Za-z0-9+/=
All bytes

輸入

40aff2e9d2d8922e47afd464.bin

256 bytes

下載

Expected answer

AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/w==
字母表
A-Za-z0-9+/=
Hello, World!

輸入

Hello, World!

Expected answer

SGVsbG8sIFdvcmxkIQ==
字母表
A-Za-z0-9+/=
UTF-8

輸入

ნუ პანიკას

Expected answer

4YOc4YOjIOGDnuGDkOGDnOGDmOGDmeGDkOGDoQ==
字母表
A-Za-z0-9+/=

相关工具

資料格式

操作参考

查看原始技术文檔 (English)