加载中
Convert between text and Base64, with URL-safe mode.
Encoding runs only in your browser and supports multibyte characters such as Chinese.
Encode and decode Base64 online. Convert between text and Base64, with a URL-safe mode. Free, no sign-up.
Standard Base64 contains +, /, and =, which need escaping in URLs. URL-safe mode replaces + with -, / with _, and strips trailing =, so the result can go straight into a URL.
Yes. Text is encoded as UTF-8, so Chinese, Japanese, and other non-ASCII text encode and decode correctly.
No. Encoding and decoding run entirely in your browser.
Check that the input is valid Base64 (character set and length). If URL-safe mode was on when encoding, turn it on for decoding too.