How to Encode Text to Base64
Open the Encode tab, enter your text and click Encode. Enable Base64 URL Safe when you need output suitable for URLs, filenames or tokens.
Encode text to Base64 instantly in your browser. Use standard Base64 or URL-safe Base64, then copy the result in one click.
Open the Encode tab, enter your text and click Encode. Enable Base64 URL Safe when you need output suitable for URLs, filenames or tokens.
Base64 is a binary-to-text encoding method that represents data using 64 printable characters. It is commonly used in web applications, APIs, email and data URLs when binary data needs to be carried as text.
Standard Base64 can contain +, / and = characters. URL-safe Base64 replaces characters that can be inconvenient in URLs and commonly omits padding.
Open the Decode tab, paste a Base64 string into the input box and click Decode. The readable result appears below. This decoder also accepts URL-safe Base64 strings.
Encoding and decoding are performed locally in your browser. The text you enter is not sent to our server by this tool.
No. Base64 is encoding, not encryption. It does not protect secrets because encoded data can be decoded without a password or key.