Text & Code
Text to Binary / Hex / Octal
Convert text to binary, hexadecimal, octal, and decimal - and back.
Your files stay on your device - processed locally via WebAssembly, never uploaded
Separator
Prefix
🔒 All conversions happen in your browser. Nothing is sent anywhere.
Embed this tool on your website
Copy this code to add the Text to Binary / Hex / Octal to your site for free. It runs entirely in your visitors' browsers - no API key, no usage limits.
<iframe src="https://optipix.art/embed/text-converter" width="100%" height="600" style="border:1px solid #e4e4e7;border-radius:8px;" title="Text to Binary / Hex / Octal by OptiPix" loading="lazy"></iframe> <p style="font-size:12px">Free tool by <a href="https://optipix.art/text-converter">OptiPix Text to Binary / Hex / Octal</a></p>
❤️ Love this tool? Support our team.
No ads, no tracking, no limits. Tips keep 104 tools free for everyone.
Secure payment via Stripe · No account needed
About Text to Binary / Hex / Octal
Last updated: May 2026
OptiPix Text Converterは、人間が読める文字と、バイナリ、16進数、8進数、10進数(ASCII)形式の数値表現の間でテキストを変換します。テキストを入力または貼り付けると、4つの形式すべてで同時に表示されます。バイナリ、16進数、または8進数の値を貼り付けてデコードすることで、テキストに戻す変換も可能です。出力には、区切り文字(スペース、なし、カンマ、改行)と接頭辞(なし、0b、0x、0o)を選択できます。完全なUTF-8サポートにより、絵文字や国際文字も正しく処理されます。各形式は個別にコピーできます。すべての変換はブラウザでローカルに実行されます。
How It Works
このツールは、JavaScriptのTextEncoderを使用してUTF-8バイト値を取得し、各バイトをNumber.toString(base)を使用してターゲットの基数に変換します。デコード時には、数値パースし、TextDecoderを使用して元のバイトを再構築します。
Use Cases
- •Webアプリケーションの文字コードの問題をデバッグする
- •教育目的でテキストをバイナリに変換する
- •カラーコードやバイト値の16進数表現を生成する
- •Unicode文字の生のバイト値を検査する
- •ネットワークプロトコル用に16進数エンコードされたデータを準備する
You Might Also Like
If you find Text to Binary / Hex / Octal useful, check out these related tools: Base64 Text Encoder / Decoder, URL Encoder / Decoder, and Hash Generator. All tools run entirely in your browser with no uploads or signups required.
Explore more: Browse all tools · Step-by-step guides · Tips & tutorials · Compare tools
Frequently Asked Questions
どのような形式がサポートされていますか?
バイナリ/16進数をテキストに戻せますか?
Unicodeや絵文字はサポートされていますか?
どのような区切り文字オプションがありますか?
私のテキストはサーバーに送信されますか?
Related Tools
Base64 Text Encoder / Decoder
Encode text to Base64 and decode Base64 back to text. URL-safe mode available.
URL Encoder / Decoder
Encode and decode URLs with percent-encoding. Parse URLs into components.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and 10+ more formats.