swap_horiz

Base64 to Base64URL

Convert standard Base64 to URL-safe format. Transform regular Base64 to URL-compatible encoding.

Base64 to Base64URL

Convert standard to URL-safe encoding

Standard Base64+ / =
arrow_forward
Base64URL- _ (no pad)
0 characters
swap_horizConverted output will appear here

Conversion Rules

Base64Base64URL
+swap_horiz-
/swap_horiz_
=swap_horiz(removed)
info

Base64URL is safe for URLs and filenames as it doesn't contain reserved characters.

About Base64URL

Base64URL is a variant of Base64 encoding designed for safe use in URLs and filenames. It replaces the + and / characters with - and _, and optionally removes padding (=) characters to avoid URL encoding issues.

  • Used extensively in JWT (JSON Web Tokens)
  • Safe for URL query parameters without encoding
  • Compatible with filesystem naming conventions
  • Defined in RFC 4648 Section 5
  • All processing happens locally in your browser