cross-browser testing tools
World's simplest online base64 encoder for web developers and programmers. Just paste your textual data in the form below, press the Base64 Encode button, and you'll get base64-encoded data. Press a button – get base64. Works with Unicode and UTF8 strings. No ads, nonsense, or garbage.
Announcement: We just launched math tools for developers. Check it out!
Want to base64 decode?
Use the base64 decoder tool!
Using a Base-64 Encoder in Cross-browser Testing
A base-64 encoder is very useful if you're doing cross-browser testing. When writing unit tests, you often have to load binary data as the input or produce binary data as the output. The base-64 encoding is made exactly for this use case. You can encode binary data as base-64 and then put them in your tests cases. Then the test harness can decode base-64 to get binary bytes and compare them with the expected result. Base-64 encoder is also useful for moving files between servers through the clipboard. You can save the file as base-64 in the clipboard, then go to another server, paste it from the clipboard and decode it. Another use case is hiding text (such as solutions or spoilers) from viewing in forums. You can encode the hidden text to base-64, share it on a forum, and then anyone who wants to read it will have to use a base-64 decoder to read your message.
Looking for more web developer tools? Try these!
Pro tip: You can use ?input=text query argument to pass text to tools.