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

—

Processing in your browser

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

How do I convert text to Base64 and back?

Paste plain text and choose Encode. Choose Decode to recover text from a valid Base64 string. This tool handles text; use the separate Data URI converter for images.

Can Base64 be used to hide passwords?

No. It represents data rather than encrypting it. Anyone with the string can decode it. Do not use Base64 to protect passwords or other secrets.