tool hub Tool Hub

Base64 Text

Base64 Text — runs in your browser. Inputs are not stored.

Runs in your browser No sign-up Free to use


Text ↔ Base64

Mode

Encodes and decodes as UTF-8. Input is processed only in your browser.

How to use

  1. In Mode, choose Encode (text → Base64) or Decode (Base64 → text).
  2. Put the original text or Base64 string in Input.
  3. Press Convert, or force a direction with the Encode / Decode buttons regardless of mode.
  4. To check the reverse trip, use Swap input and output.
  5. Copy result to take it with you, or Reset to clear the fields.

Key concepts

Text Base64 conversion moves config values, token fragments, or parts of an email body to an ASCII-safe string and back. UTF-8 bytes are encoded to Base64; on decode, whitespace in the string is stripped first. For image data URLs, use the image Base64 tools instead of this screen.

The Encode and Decode buttons switch the radio mode and run immediately. Swap is useful for putting the result back as input to check a round trip. All work stays in the browser. Strings with missing padding equals signs can fail to decode, so double-check the original.

Example

Encoding Hangul 안녕 yields UTF-8 Base64. Switch to decode mode or swap input/output and convert to get 안녕 again. Base64 with line breaks is decoded after whitespace is removed. This is for encoding short secret-like values in config files, not for password-storage hashes. If decoded Hangul looks broken, the source may not be UTF-8; check encoding again. For values with a data URL prefix, it is safer to strip the prefix and paste pure Base64. When retrying the same input, reset and paste fresh so previous output does not mix in. On a shared computer, clear the field when you finish. Closing the tab drops the pasted value; you do not need a server delete request. Button names match the tool above. If the result is empty, check required fields and hidden errors first.

Related: URL encoder · hash generator · string escaper

Frequently asked questions

Can I convert images with text Base64?

This is for text. For images, use the image → Base64 and Base64 → image tools.

Is Hangul encoded as UTF-8 Base64?

Yes. Bytes are built using the browser’s UTF-8.

Can Base64 with spaces be decoded?

Whitespace is removed before decode. That helps with values that picked up line breaks in email.

Is input saved on a server?

No. Conversion runs only in the browser.

What is the difference between Encode and Convert?

Convert follows the selected mode. Encode and Decode run immediately in that direction.

Can it decode without padding equals signs?

Sometimes, if the length works. If it fails, add the equals signs and try again.

Base64 Text cover image
Your input is not sent to the server and disappears when you close the page.

Last reviewed: 2026-09-04