NetSecTools

All tools / Encryption & Encoding / Base64, URL & Hex Encoder / Decoder

Base64, URL & Hex Encoder / Decoder

Encode and decode Base64, URL-encoded text and hexadecimal.

Result
Encoding is not encryption. Anyone can decode Base64, URL or hex text, so never use it to protect secrets.

About this tool

Encoding changes how data is represented so it can travel safely through systems that expect certain characters. Base64 is common in emails, APIs and tokens. URL encoding makes text safe for web addresses. Hexadecimal shows raw bytes as readable characters.

This tool handles UTF-8 text correctly, so accented letters and emoji round-trip properly. Everything runs in your browser.

Security tips

  • Encoding is reversible by anyone. It is not a way to hide data.
  • JWTs use URL-safe Base64. The decoder here accepts the - and _ characters.
  • If decoding fails, check for extra spaces or missing padding characters.

Frequently asked questions

Is Base64 encryption?

No. Base64 is a reversible encoding with no key. Anyone can decode it.

Why does Base64 make data larger?

It represents every 3 bytes as 4 characters, which adds about 33 percent.

What is URL encoding used for?

It replaces unsafe characters in URLs with a percent sign and two hex digits, such as %20 for a space.

Related tools