Encoders & Decoders
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to UTF-8. Useful for data URLs, API payloads, and quick debugging—runs fully in your browser.
Loading tool…
How to use
- Paste your text or Base64 string
- Choose Encode or Decode
- Copy the result
Next step
- Hex Encoder / Decoder
Encode UTF-8 text to hexadecimal bytes or decode hex back to readable text. Accepts spaced, compact, or 0x-prefixed hex—runs locally.
- Unicode Escape / Unescape
Escape non-ASCII characters to JavaScript \u sequences or unescape them back to readable text. Handles BMP and surrogate pairs—runs in your browser.
- URL Encoder / Decoder
Percent-encode or decode URL components for query strings, path segments, and form values. Uses encodeURIComponent / decodeURIComponent in your browser.
Frequently asked questions
Is Unicode supported?
Yes. Text is encoded as UTF-8 before Base64 conversion, so emoji and non-ASCII characters round-trip correctly.
Does my data leave the browser?
No. Encoding and decoding happen locally. Prefer that for tokens, config snippets, or anything you would not paste into a random website.
Why do I get an “Invalid Base64” error?
Decode mode expects valid Base64 (standard alphabet and padding). Extra whitespace is trimmed, but corrupted or truncated strings will fail.