FastOS 工具
FastOS 工具

Base64 编码解码器

在线编码和解码 Base64 字符串。快速将文本转换为 Base64,反之亦然。

要编码的文本

功能介绍

The Base64 Encoder & Decoder tool converts text and binary data to and from Base64 format in your browser. It is useful for embedding small assets, handling authorization headers, and debugging encoded payloads.

什么时候用这个工具?

Use this tool whenever you need to encode or decode Base64: working with data URIs, HTTP headers, simple obfuscation, or debugging APIs that return Base64-encoded content.

使用步骤

1

Choose encode or decode

Select whether you want to convert plain text to Base64 or decode an existing Base64 string.

2

Paste your input

Paste the text or Base64 string into the input box. For binary data, paste the Base64 representation you received from another system.

3

Run the conversion

Click the appropriate button to instantly see the encoded or decoded result in the output area.

4

Copy the result

Copy the converted value into your code, configuration, or debugging tool as needed.

使用示例

Decoding an HTTP Authorization header

When debugging Basic Auth issues, paste the Base64 part of the Authorization header to see the original username and password pair.

Creating a simple data URI

Encode small text or assets into Base64 so they can be embedded directly in HTML or CSS as data URIs.

常见问题

相关工具推荐