Base64 & URL codec

Local processing · No uploads

Encode Unicode text, URL components and local images without uploading content.

Enter content, then choose an action.

Usage & limits

How to use

  1. Choose Text Base64, URL component or Image Base64 mode.
  2. Fill Input, or choose a local PNG, JPEG or WebP for image encoding, then click Encode or Decode.
  3. Read Result or the local image preview. Copy the result or explicitly download the image.

Input and output examples

Text Base64 encoding (UTF-8)
Example input
你好
Expected output
5L2g5aW9
URL component encoding (plus is not a space)
Example input
a+b &中
Expected output
a%2Bb%20%26%E4%B8%AD

Formats and limits

  • Text uses UTF-8 and standard Base64, accepting valid omitted padding and ASCII whitespace. Base64URL is separate; invalid UTF-8 bytes return an error.
  • URL actions encode/decode components using encodeURIComponent / decodeURIComponent. A plus stays a plus; this is not form encoding and never opens the input URL.
  • Text input: 1 MiB UTF-8; output: 8 MiB. PNG/JPEG/WebP images: 5 MiB bytes, 7 MiB encoded input and 16 million pixels. Image bytes are preserved. SVG and remote images are rejected.

Content is processed in this page, without uploads or site history. First load and on-demand assets need a network. Clear or leave to release tool content; browser-managed restoration is outside the tool’s control.

Browser agent usage

These are interactive browser tools, not HTTP computation APIs. Computation requires JavaScript; initial page and on-demand asset loading need a network.

Input method
Choose a mode before filling Input or choosing a local image. URL mode handles components, not whole URLs or form encoding; it never visits the input URL.
Reading results
Text appears in the read-only Result field. Successful image decoding also shows a preview and Download image. Base64 is encoding, not encryption.

Supported operations

  • Text Base64: UTF-8 encode / decode
  • URL component: encode / decode
  • Image Base64: local encode / decode and download

Locate inputs and buttons by their page labels. After an explicit action, wait for the status to finish before reading the current result. Fix failed input first; do not reuse old results after changing input or settings.

Common questions

Is Base64 encryption?

No. Base64 is reversible byte encoding, not a way to protect secrets. This tool processes content in your current browser.

Are images uploaded?

No. Reading, type/size checks, encoding and preview happen locally. Downloads require your explicit action.

Feedback and suggestions

Leave a problem or suggestion for this tool.

Tool inputs stay local. Only text you explicitly enter in feedback is sent to a separate service and may become public after review. Email stays private to the maintainer.

Account-free feedback is not enabled yet. You can still use GitHub Issues (a GitHub account is required).

GitHub Issues ↗

Content reviewed:

Search tools