Loading…
Convert text to binary and back. Use for binary strings; for other bases use base-converter. Input: text ≤10MB. Returns 0/1 string or decoded text. 100% client-side.
Binary Encoder/Decoder is loading — interactive editor will appear here. Use examples below to try instantly once loaded.
Press ? for keyboard shortcuts
Converts text to binary and binary to text with fine-grained control over format. Features include space-separated (byte-divided) and continuous (no spaces) output modes, 7-bit vs 8-bit byte width selection, optional hex and octal representation alongside each character, and file-to-binary conversion with drag-and-drop upload.
Understanding binary representation is fundamental to computer science and low-level programming. A flexible converter that handles both directions with configurable byte width and multiple output formats is essential for developers working with serialization, networking protocols, or educational content.
This tool is part of the DevStackIO platform — a collection of free online developer tools from DevStackIO. Browse more free developer resources on DevStackIO.
Computer science educators and students, embedded systems developers, security researchers analyzing raw byte streams, and anyone debugging binary serialization or deserialization issues.
Select conversion direction: 'Text to Binary' or 'Binary to Text'
Paste input or drag-and-drop a file
Configure options: 7-bit or 8-bit width, Space-Separated vs Continuous output format
Toggle 'Show Hex & Octal' for supplementary columns showing hex and octal per byte
Click 'Convert' — result appears with count of characters/bytes converted
Copy result or use 'Download Binary' to save as .txt file
Input: 'Hi' | Text to Binary | 8-bit | Space-Separated => Output: '01001000 01101001'Input: '01001000 01101001' | Binary to Text | 8-bit => Output: 'Hi'Does this support UTF-8 input?
It treats input as UTF-8 then converts each byte individually.
What is 7-bit vs 8-bit?
7-bit uses ASCII range (0-127), 8-bit extends to Latin-1 (0-255).
Can I convert a file to binary?
Yes, drag-and-drop any file. Reads as text or raw bytes.
How do I decode binary without spaces?
Select 'Continuous' mode; tool auto-groups into 7/8-bit chunks.
Authoritative specifications, standards, and in-depth reading for Binary Encoder/Decoder.
Free online Base64 encoder and decoder with URL-safe mode. Use as default for text; for split encode-only/decode-only URLs use base64-encoder/base64-decoder (aliases), for image files use image-to-base64. Input: text ≤10MB. Returns Base64 string or decoded text + error location. Convert instantly in your browser.
Free online URL encoder and decoder for query strings and components. Private client-side conversion.
Encode/decode HTML entities (& < >). Use for HTML text; for URLs use url-encoder. Input: text ≤10MB. Returns encoded/decoded text. 100% client-side.
Convert text to hex and back. Use for hex encoding; for hashes use hash-generator. Input: text ≤10MB. Returns hex string or decoded text. 100% client-side.
Escape/unescape JS strings. Use for code literals; for JSON strings use json-escaper. Input: text ≤10MB. Returns escaped text. 100% client-side.
Convert images to Base64 encoded strings online for free. Use for image files only; for text use base64. Input: image file ≤10MB. Returns Base64 data URI for HTML/CSS/JS. Generate Base64 data URIs for embedding images directly in HTML, CSS, and JavaScript code.
Translate text to Morse code and back. Use for learning or signaling. Input: text ≤10MB. Returns dots/dashes or decoded text. 100% client-side.
Minify JS for production or beautify minified JS for debugging. Use for JS only; for JSON use json-formatter, for CSS use css-formatter. Input: JS text ≤10MB. Returns minified or beautified JS or syntax error. 100% client-side.