Convert text between Binary/Text, Base64 Encode/Decode, and URL Encode/Decode. All processing happens in your browser.
Why this matters
Text sometimes arrives in forms that aren't human-readable. URLs in emails get URL-encoded (%20 for spaces, %3A for colons). API responses contain base64-encoded attachments. Binary data needs encoding to travel through text-only channels. Converting between these formats is a daily need for anyone working with data.
This converter handles the three common cases: plain text to URL encoding (for safe use in URLs), plain text to base64 (for embedding in JSON, HTML, or data URIs), and plain text to binary (for understanding low-level data). It also decodes all three back to readable text. Everything stays in your browser.
Best uses: preparing text for URL parameters, decoding API responses, embedding images/data in JSON, fixing double-encoded URLs, and understanding encoded strings.
Bin / Text
Base64
URL
Input
0 charsText mode
Output
0 charsBinary mode
What Is Text Encoding, and Why Convert It?
Computers ultimately store everything as binary (0s and 1s), but humans need readable formats layered on top — like Base64 for embedding binary data in text-based formats (emails, JSON, URLs), or URL encoding for safely including special characters in a web address. This tool moves between these formats and plain text instantly.
Binary to Text Conversion
Each character has a numeric code (its ASCII/Unicode value), which can be represented in binary. This tool auto-detects direction: paste plain text and it converts to space-separated 8-bit binary; paste binary and it converts back to text.
Base64 Encoding Explained
Base64 represents binary data using only 64 printable characters (A–Z, a–z, 0–9, +, /), which makes it safe to embed in places that only support text — email attachments, data URLs, and API tokens are common examples. It increases the data size by roughly a third but guarantees safe transport through text-only systems.
URL Encoding Explained
URLs can only safely contain a limited set of characters. URL encoding (percent-encoding) converts unsafe or reserved characters — spaces, ampersands, non-Latin scripts — into a %XX format so they can be safely included in a web address or query string.
Frequently Asked Questions
Is Base64 the same as encryption?
No. Base64 is an encoding scheme, not encryption — anyone can decode it instantly with no key or password required. It should never be used to protect sensitive data.
Why does my binary conversion show garbled characters?
This usually happens with binary that doesn't align to 8-bit boundaries per character, or that represents multi-byte Unicode characters rather than simple ASCII text.
Does this tool send my text anywhere?
No — all conversions happen locally in your browser using built-in JavaScript functions. Nothing is transmitted or stored.
Can I convert emojis or non-English text?
Base64 and URL encoding handle Unicode text (including emoji and non-Latin scripts) correctly. Binary conversion works best with standard ASCII text.