Skip to main content
Development

Base64 encoder and decoder

Convert text to Base64 or restore its content directly in your browser.

Continue in Workspace
  • 100% local
  • Instant
  • Free
  • No account
  • Works offline
  • Clipboard
  • Workspace compatible

Base64 represents data as ASCII text. This tool encodes text or decodes a Base64 string without sending its content to a server.

Guide

How to use this tool

  1. 1

    Enter the content

    Paste the text to encode or the Base64 string to decode.

  2. 2

    Choose an action

    Select Encode or Decode depending on your goal.

  3. 3

    Use the result

    Copy the generated value or reset the tool.

Examples

Encode text

Input

Hello!

Result

SGVsbG8h

Decode a string

Input

Qm9uam91cg==

Result

Bonjour

Tips and best practices

  • Base64 is encoding, not encryption.
  • Keep UTF-8 encoding for accented characters.
  • Check spaces and line breaks when a value looks invalid.

Frequently asked questions

What is Base64 used for?

Base64 is commonly used to carry binary data in text formats such as JSON, XML, HTML and email.

Is my data uploaded?

No. Encoding and decoding happen locally in your browser.

Does Base64 protect passwords?

No. Base64 provides no security and must not replace encryption or password hashing.

Complementary tools

Security and privacy

JWT decoder

Decode the header and payload of a JWT.

100% localNew
Use this tool
Security and privacy

Hash generator

Calculate a SHA-256, SHA-384 or SHA-512 digest.

100% localNew
Use this tool
Development

JSON formatter

Format, minify and validate JSON.

100% localNewFeatured
Use this tool

Alternatives

Use before

Text and writing

Clean text

Remove extra spaces and empty lines.

100% localNewFeatured
Use this tool

Next steps

Development

JSON formatter

Format, minify and validate JSON.

100% localNewFeatured
Use this tool

You may also like

Security and privacy

JWT decoder

Decode the header and payload of a JWT.

100% localNew
Use this tool
Security and privacy

Hash generator

Calculate a SHA-256, SHA-384 or SHA-512 digest.

100% localNew
Use this tool
Development

JSON formatter

Format, minify and validate JSON.

100% localNewFeatured
Use this tool
Text and writing

Clean text

Remove extra spaces and empty lines.

100% localNewFeatured
Use this tool
Development

Timestamp converter

Convert a date to a Unix timestamp and back.

100% localNew
Use this tool

Latest additions

Images

Resize an image

Change the dimensions of a PNG, JPEG or WebP image.

100% localNewFeatured
Use this tool
PDF and documents

Merge PDF files

Combine several PDF files in the selected order.

100% localNewFeatured
Use this tool