How to Use the Base64 Encoder Online
- 1Paste the original text, including any accented characters, line breaks, or punctuation that should be part of the result.
- 2Keep the default for standard Base64. Turn on URL-Safe Base64 when the receiving field expects hyphens and underscores instead of the standard symbols.
- 3Enable Split Lines if your destination calls for lines up to 76 characters. Leave it off when you need a single string in a configuration field.
- 4Copy the result and check it with the Base64 Decoder if you need to verify that it restores the expected text.
Input & Output Examples
The accented letter is encoded using its UTF-8 bytes along with the three ASCII letters.
CaféQ2Fmw6k=A short JSON document becomes an encoded string you can use as a fixture when the receiving system expects Base64.
{"mode":"test"}eyJtb2RlIjoidGVzdCJ9Practical Developer Workflows
- Create an encoded text fixture for a unit test that checks whether an API decodes a UTF-8 payload correctly.
- Prepare a short configuration value for a system that specifically asks for standard or URL-safe Base64 text.
- Compare how a Unicode string and an ASCII string are encoded when debugging an integration that handles both.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Let us know directly so our engineering team can fix it.