Encode and decode text payloads with URL-safe and padding controls for API and query workflows.
Ready
Mode
Encode
Input chars
0
Output chars
0
Use Base64 conversion when preparing payloads, storing compact text blobs, or decoding API fields.
URL-safe mode is helpful for query parameters and path-safe tokens.
Yes. The tool uses UTF-8 conversions so non-ASCII text is handled correctly when possible.
URL-safe mode swaps plus and slash characters for dash and underscore to avoid URL conflicts.
Yes. You can strip trailing padding during encode and restore it automatically during decode.
This Base64 encoder decoder online converts text as UTF-8, so accented letters and emoji round-trip correctly, unlike a plain btoa call, which fails on them.
URL-safe mode and optional padding removal cover query parameters and JWT-style segments. Base64 is an encoding and not encryption: anyone can decode it.
Input
Café >>> ?
Output
Standard: Q2Fmw6kgPj4+ID8= URL-safe, padding stripped: Q2Fmw6kgPj4-ID8
The é takes two bytes in UTF-8, so a Latin-1 tool would give a different result. The + becomes - in URL-safe mode, and the final = is removed by "Strip padding on encode". Both strings decode back to the original text when URL-safe is on.