AGONECO · Text

Base64 encoder / decoder

Automatically decode up to 10 Base64 layers to recover a URL or text. Base64URL, Unicode and editable results, all in your browser.

Encoding passes
1
Result

Edit the result directly. Click a link to open it in a new tab.

Convert UTF-8 text. Decoding also accepts URL-safe Base64 and line breaks. Base64 is not encryption.

Your input is never sent to a server or saved.

Base64 encoding examples

Original textBase64 stringPasses
HelloSGVsbG8=1
Hello, 世界 😀SGVsbG8sIOS4lueVjCDwn5iA1
https://example.com/WVVoU01HTklUVFpNZVRsc1pVZEdkR05IZUd4TWJVNTJZbE00UFE9PQ==3

How to use

  1. Enter text or a Base64 string. Decoding is selected by default.
  2. Choose Decode or Encode. Turn off automatic decoding for one pass, or use −/+ to set the encoding count.
  3. Check and copy the result. Click an HTTP(S) result to open it in a new tab.

Understanding Base64 and Base64URL

What is Base64?

Base64 represents bytes as text. For example, Hello becomes SGVsbG8=. The output can grow in size; this is neither encryption nor compression.

Base64 versus Base64URL

Standard Base64 uses + and /. The URL-safe alphabet replaces them with - and _. This decoder accepts both; URL-safe encoding here omits trailing = padding.

Padding and line breaks

Padding completes the final encoded group. This tool accepts omitted padding and removes spaces, tabs and line breaks, but does not silently discard invalid characters or malformed padding.

Standard: RFC 4648

FAQ

Is Base64 encryption?

No. Base64 represents data as text and can be decoded without a password. It does not protect confidential information.

Can I decode several layers of Base64?

Automatic decoding repeats the same Base64 format up to 10 times to recover the original URL or text. It stops when another valid UTF-8 decoding is not possible, keeps the last successful result and shows the pass count. If the entire result is an HTTP(S) URL, click it to open a new tab.

Does it support URL-safe Base64 and Unicode?

Yes. UTF-8 text, including Japanese and emoji, and URL-safe Base64 are supported. Decoding accepts line breaks and omitted padding. Binary files such as images are not supported.

More text tools