Text and dataRuns in your browser

Base64 Text Encoder & Decoder

Convert UTF-8 text to Base64 or restore the original string from a valid Base64 value.

  • UTF-8 text
  • Encode and decode
  • Not encryption
Online tool

Try the tool

Add your data, choose the settings, and get the result.

Input

Result

—

Your data stays here

Text and selected files are processed in the current browser and are not sent to a server to produce the result.

Reviewed: 2026-07-17
01

How to use it

  1. 1

    Enter plain text or a Base64 string.

  2. 2

    Choose the conversion direction.

  3. 3

    Copy the result.

02

What the tool can do

  • Unicode text encoding through UTF-8 bytes.
  • Whitespace is ignored during decoding.
  • Errors for invalid Base64 or invalid UTF-8 output.
03

Common use cases

  • Inspecting a text payload.
  • Preparing test data for an API.
  • Checking a stored Base64 value.
04

How it works inside

Base64 typically increases data size by roughly one third and does not conceal content.

Decoded bytes must form valid UTF-8 text.

05

Questions and answers

Does Base64 protect a password?

No. Base64 is easily decoded and should not be used to protect secrets.

Can it encode an image?

The current version works with text only.