SmallTools

Base64 Encode / Decode

Convert text to Base64 and back. Supports URL-safe base64url.

Result
Base64

How to Use

01

Choose Your Mode

Select 'Encode' to convert text into Base64 or 'Decode' to reverse the process.

02

Input Your Data

Paste your text or Base64 string into the input area. The conversion happens instantly.

03

Copy the Result

Your results are displayed automatically. Use the copy button for quick and easy saving.

Frequently Asked Questions

What is Base64 encoding used for?

Base64 is a way of representing binary data as printable ASCII text. It's commonly used to embed images in emails or HTML, or when sending data through channels that only support text.

Is Base64 a form of encryption?

No, Base64 is NOT encryption. It is a simple encoding scheme that can be easily reversed by anyone. Do not use it for sensitive information without additional security.

What does the 'URL safe' option do?

Standard Base64 uses characters like '+' and '/', which can cause issues in web URLs. The 'URL-safe' mode replaces these with '-' and '_' to make the string safe for use in links.