Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save lorishui/f865d979c395de0662b3b0aa6eaaf823 to your computer and use it in GitHub Desktop.

Select an option

Save lorishui/f865d979c395de0662b3b0aa6eaaf823 to your computer and use it in GitHub Desktop.
Binary translator examples and UTF-8 notes

Binary Translator Examples and UTF-8 Notes

A short reference for converting binary to text and text to binary.

Useful tool: JsonToTable Binary Translator

Common examples

Text Binary
A 01000001
Hi 01001000 01101001
JSON 01001010 01010011 01001111 01001110

Notes

  • Standard ASCII characters are represented as 8-bit binary bytes.
  • UTF-8 text may use multiple bytes per character.
  • Binary strings should be grouped in 8-bit chunks when decoding to readable text.
  • For quick checks, use an online binary translator that validates byte length before decoding.

When this is useful

  • Debugging binary strings in API payloads.
  • Teaching encoding basics.
  • Converting short text snippets into binary for examples or tests.
  • Checking whether a binary string maps to readable UTF-8 text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment