Skip to content
My Blog

Search WPDesignVault

Try "image", "json", "schema" or "contrast". Use arrow keys to move through results.

Developer Tools

Base64 Encoder

Encode text or a file to Base64 in your browser, with UTF-8 support and an optional URL-safe alphabet.

Runs in your browser. Nothing you enter is uploaded. Last updated
Mode

How to use

  1. Type or paste text, or choose a file to encode as a data URI.
  2. Tick URL-safe if the result goes into a URL or filename.
  3. Copy the Base64 output.

What this tool does

Text is converted to UTF-8 bytes before encoding, so emoji and non-Latin scripts work correctly. Files are read locally and never uploaded.

Why it matters

Base64 lets binary data travel through systems that only handle text, such as JSON, email or data URIs. It is an encoding, not encryption: anyone can decode it.

Frequently asked questions

Is Base64 secure?

No. It only changes the representation. Never use it to hide passwords or secrets.

Why is the output bigger?

Base64 uses four characters for every three bytes, so encoded data is about 33% larger.

Base64 Decoder

Decode Base64 (standard or URL-safe) back to readable UTF-8 text, with clear errors for invalid input.

URL Encoder / Decoder

Encode or decode URLs and query values with percent-encoding, and inspect a URL's host, path and parameters.

SHA-256 Hash Generator

Generate SHA-256, SHA-512, SHA-384 and SHA-1 hashes of text or files to verify downloads and compare data. Everything…

JSON Formatter & Beautifier

Pretty-print JSON with your choice of indentation and optional key sorting. Errors are shown with line and column.…

UUID Generator (v4)

Generate one or up to 1,000 random v4 UUIDs at once, with uppercase, no-hyphen and brace options.

Unix Timestamp Converter

Convert Unix epoch timestamps to readable dates in UTC and your local time zone, or turn a date…

Regex Tester

Test JavaScript regular expressions against your text with highlighted matches, capture groups and a live replace preview.

JSON Minifier

Remove all unnecessary whitespace from JSON and see how many bytes you save.