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 แปลงข้อความระหว่างอักขระที่มนุษย์อ่านได้และค่าตัวเลขที่แสดงในรูปแบบไบนารี, เลขฐานสิบหก, เลขฐานแปด และเลขฐานสิบ (ASCII) พิมพ์หรือวางข้อความของคุณ แล้วดูผลลัพธ์ทั้งสี่รูปแบบพร้อมกันทันที คุณสามารถย้อนกลับการแปลงได้โดยการวางค่าไบนารี, เลขฐานสิบหก หรือเลขฐานแปด เพื่อถอดรหัสกลับเป็นข้อความ เลือกตัวคั่น (เว้นวรรค, ไม่มี, จุลภาค, ขึ้นบรรทัดใหม่) และคำนำหน้า (ไม่มี, 0b, 0x, 0o) สำหรับผลลัพธ์ การรองรับ UTF-8 เต็มรูปแบบหมายความว่าสามารถจัดการอิโมจิและอักขระสากลได้อย่างถูกต้อง คัดลอกแต่ละรูปแบบได้โดยอิสระ การแปลงทั้งหมดทำงานบนเบราว์เซอร์ของคุณเท่านั้น
How It Works
เครื่องมือนี้ใช้ TextEncoder ของ JavaScript เพื่อรับค่าไบต์ UTF-8 จากนั้นแปลงแต่ละไบต์เป็นฐานที่ต้องการโดยใช้ Number.toString(base) สำหรับการถอดรหัส จะทำการแยกวิเคราะห์ค่าตัวเลขและสร้างไบต์ต้นฉบับใหม่โดยใช้ TextDecoder
Use Cases
- •แก้ไขปัญหาการเข้ารหัสอักขระในเว็บแอปพลิเคชัน
- •แปลงข้อความเป็นไบนารีเพื่อการศึกษา
- •สร้างการแสดงผลเลขฐานสิบหกสำหรับรหัสสีและค่าไบต์
- •ตรวจสอบค่าไบต์ดิบของอักขระ Unicode
- •เตรียมข้อมูลที่เข้ารหัสแบบเลขฐานสิบหกสำหรับโปรโตคอลเครือข่าย
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
รองรับรูปแบบใดบ้าง?
ฉันสามารถแปลงไบนารี/เลขฐานสิบหกกลับเป็นข้อความได้หรือไม่?
รองรับ 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.