New paste Use cases Explore public pastes Text tools Developer API The Paste Library Journal Security Sign in with Google

Encode and decode Base64 text locally

Convert UTF-8 text to Base64 or decode a Base64 value locally. Base64 is a transport representation, not a confidentiality or access-control mechanism.

Encode or decode Base64 locally

Enter UTF-8 text to encode or a Base64 value to decode.

How to use the Base64 encoder and decoder

The Base64 encoder and decoder keeps its input on this device. Review the result using the steps below before sharing or relying on it.

Enter text or Base64

For encoding, add ordinary Unicode text. For decoding, provide a complete Base64 string with valid alphabet and padding.

Choose encode or decode

Encoding converts UTF-8 bytes into a portable ASCII representation. Decoding reverses that representation into readable text when the bytes are valid UTF-8.

Treat decoded output as untrusted

A decoded value may contain scripts, commands, markup, or credentials. Inspect it as data and never execute unfamiliar output automatically.

What the Base64 encoder and decoder does not do

Base64 does not encrypt, authenticate, compress, anonymize, or safely store information. Anyone with the encoded text can usually reverse it immediately.

Before sharing the result, read Pastebin.ai security model for the matching context and privacy checks.

Base64 encoder and decoder questions

Privacy, limits, and correct interpretation.

Is Base64 encryption?+

No. It is reversible encoding and provides no secrecy.

Does this tool upload input?+

No. Encoding and decoding run locally in the browser.

Why might decoding fail?+

The value may use an invalid alphabet, have missing padding, be truncated, or represent bytes that are not valid UTF-8 text.

Related browser tools

After using the Base64 encoder and decoder, choose another tool only if the next task changes to formatting, comparison, encoding, or measurement.

Format and validate JSON in your browser

Pretty-print compact JSON, minify a valid document, or locate a syntax error without uploading the input. The formatter runs entirely in this browser.

Open tool →

Online text diff for line-by-line comparison

Compare an original and changed block line by line without sending either version to the server. Use the result for a quick inspection, not as a replacement for version-control history.

Open tool →

Secret scanner for finding and redacting credentials

Check code, logs, configuration, and HTTP transcripts for common credential shapes before sharing. Detection and redaction run in this browser, and no input is uploaded.

Open tool →

Online word, character, line and byte counter

Measure visible writing and actual UTF-8 storage size as you type. Counts update locally and help you check a text block before creating a paste.

Open tool →

Online URL encoder and decoder

Percent-encode a URL component or decode an encoded value without uploading it. Use this tool for query values, paths, callback parameters, and sanitized HTTP examples.

Open tool →

Free local JWT decoder for headers and claims

Inspect the Base64URL-encoded header and payload of a three-part JSON Web Token in this browser. The decoder never verifies the signature and never proves that a token is authentic or safe to trust.

Open tool →

Unix timestamp converter for logs and APIs

Convert Unix seconds, Unix milliseconds, or an ISO 8601 date into UTC, local time, seconds, and milliseconds. Processing stays in the browser for safer log analysis.

Open tool →

Generate a SHA-256 hash of any text

Create a lowercase SHA-256 digest from the exact UTF-8 bytes of a text block. Hashing runs through the browser Web Crypto API and does not upload the input.

Open tool →

Local text cleaner for lines and whitespace

Prepare a text list or copied diagnostic block locally by trimming trailing spaces, compacting blank lines, removing duplicate lines, or sorting lines. Every action changes text, so review the result before replacing a source artifact.

Open tool →