Free, browser-based utilities for everyday developer workflows

Encode and decode text online

Convert text between Base64, URL percent-encoding, hex, and HTML entities in one place — encode for transport or decode an encoded value to read it — all locally.

Open this example in Encoding Suite

Open the tool, then paste the sample input below. Everything runs locally in your browser.

Open this example in Encoding Suite →

The problem

Debugging often means a value is encoded and you need it in a different form: a token in Base64, a parameter in percent-encoding, bytes in hex. Switching between them with separate tools is slow. One suite encodes and decodes across formats so you can move between representations quickly.

Sample input

Text
Hello, world

Expected output

Encodings
Base64:  SGVsbG8sIHdvcmxk
URL:     Hello%2C%20world
Hex:     48656c6c6f2c20776f726c64

The same text in three encodings. Base64 is for binary-safe transport, URL encoding escapes reserved characters like the comma (%2C) and space (%20) for query strings, and hex shows the raw byte values.

How to do it

  1. Paste the text or encoded value.
  2. Choose the encoding: Base64, URL, hex, or HTML entities.
  3. Encode, or switch to decode.
  4. Read or copy the result.
  5. Convert to another encoding if needed.

Common mistakes

  • Confusing standard Base64 with the URL-safe alphabet.
  • Decoding with the wrong format so the output looks like garbage.
  • Double-encoding an already-encoded value.
  • Forgetting that Base64 grows the length by about a third.
  • Assuming hex and Base64 are interchangeable representations.

Related tools

Related guides

FAQ

Which encodings can I convert between?

Base64, URL percent-encoding, hex, and HTML entities. You can encode plain text into any of them or decode an encoded value back to text.

When should I use Base64 versus URL encoding?

Use Base64 to carry binary or arbitrary bytes safely as text; use URL encoding to put a value into a query string or path where reserved characters must be escaped.

Why does my decoded text look wrong?

It was likely decoded with the wrong format, or it was double-encoded. Confirm which encoding produced the value and decode with that.

Does Base64 make data larger?

Yes. Base64 encodes 3 bytes as 4 characters, so the encoded form is about a third larger than the input.

Is my text uploaded?

No. Encoding and decoding run locally in your browser. Nothing is sent to a server.

Encoding and decoding run locally in your browser. Nothing is uploaded.

Explore more security and debugging tools

Encode and decode values, hash text, decode tokens and scan for secrets — grouped in one place.

View the security & debugging toolkit →