FastOS Tools
FastOS Tools

Base64 Encoder & Decoder

Encode and decode Base64 strings online. Convert text to Base64 and vice versa instantly.

Text to Encode

Introduction

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.

When to use this tool

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.

How to use

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.

Examples

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.

FAQ

Related tools