Base64 encoding and decoding

Encode UTF-8 text as Base64 and decode it back, including Cyrillic letters and emojis. Conversion and result copying work locally in your browser.

Operation mode

UTF-8 text up to 1 MiB. Whitespace and line breaks are preserved.

Conversion result

No result yet. Convert the source text to see the result.

How to use

  1. Step 1

    Choose Encode or Decode mode.

  2. Step 2

    Enter UTF-8 text or a Base64 string. The limit is 1 MiB of UTF-8 text before encoding or after decoding.

  3. Step 3

    Click the selected action and copy the result. Clear removes the source, result, and error messages.

Frequently asked questions

Are Cyrillic letters and emojis supported?

Yes. Encoding converts text to UTF-8 bytes and then to Base64. Decoding requires valid UTF-8 text; binary data in another encoding produces a clear error.

Can I paste Base64 without = padding or with line breaks?

Yes. Trailing = padding may be omitted entirely. ASCII spaces, tabs, and line breaks in Base64 are ignored. The standard A–Z, a–z, 0–9, + and / alphabet, length, padding positions, and unused bits are validated. Base64url and data: prefixes are not supported.

What happens when I change modes or edit the source?

Switching modes preserves the source text. Previous results and errors are cleared to avoid copying the result of a different operation. Conversion runs only when you click the action button.

Is Base64 encryption?

Base64 represents data as text and does not protect it with a password. The conversion is reversible. In Packlet, input and results stay in the page's memory, are not sent to a server, and are not saved in browser storage.