UTF-8 Safe Base64, Base64URL & Percent URL Encoding
Base64 and URL percent-encoding are foundational to modern web engineering — powering HTTP Basic Auth headers, JWT tokens, inline Data URIs, OAuth query strings, and safe binary transport inside JSON or XML payloads. Unlike naive btoa()/atob() tools that crash on emojis or international Unicode text, Pivnexa uses TextEncoder and TextDecoder for 100% UTF-8 safe encoding and decoding.
Switch seamlessly between Standard Base64, URL-Safe Base64 (RFC 4648 §5 used in JWTs), File-to-Base64 Data URI conversion, and URL Component / Full URI encoding — all executing locally at zero latency.
Developer Features Included
- UTF-8 Safe Base64: Correctly handles emojis, accented characters, CJK text, and multiline JSON payloads without Latin-1 errors.
- Base64URL Mode (JWT Ready): Replaces + and / with - and _ and optionally strips trailing = padding for URLs and JSON Web Tokens.
- File-to-Base64 Converter: Drop any image, SVG, or small file to generate a raw Base64 string or ready-to-paste HTML/CSS Data URI.
- URL Encode / Decode Modes: Choose between encodeURIComponent (query parameter values) and encodeURI (full URLs preserving protocol and slashes).
Common Troubleshooting & Engineering Use Cases
- Encode HTTP Basic Authorization credentials (username:password) for curl or Postman.
- Inspect Base64URL-encoded JWT headers and claims safely offline.
- Convert small SVG/PNG icons into inline Data URIs or decode complex OAuth callback query strings.