{"category":"encoding","endpoint":"https://setget.net/v1/tools/binary-text","examples":[{"input":{"text":"Hi"},"output":{"bytes":2,"text":"01001000 01101001"}},{"input":{"base":"decimal","text":"Hi"},"output":{"bytes":2,"text":"72 105"},"title":"Decimal byte values (ASCII codes)"},{"input":{"action":"decode","text":"0100100001101001"},"output":{"binary":false,"bytes":2,"encoding":"utf-8","text":"Hi"},"title":"Binary without spaces"},{"input":{"action":"decode","base":"octal","text":"110 151"},"output":{"binary":false,"bytes":2,"encoding":"utf-8","text":"Hi"}}],"input_schema":{"additionalProperties":false,"properties":{"action":{"default":"encode","description":"Encode text to numbers, or decode numbers to text.","enum":["encode","decode"],"type":"string"},"base":{"default":"binary","description":"How each byte is written: binary (8 digits), octal (3 digits) or decimal.","enum":["binary","octal","decimal"],"type":"string"},"text":{"description":"The text to convert, or the byte values to turn back into text.","examples":["Hi"],"maxLength":200000,"type":"string"}},"required":["text"],"type":"object"},"keywords":["text to binary","binary to text","binary translator","binary code","ascii to binary","binary converter","octal","ascii codes","decimal to text","binary decoder"],"related":["hex","string-escape-bytes","base64","morse"],"slug":"binary-text","summary":"Convert text to binary, octal or decimal byte values and back again.","tier":"inline","title":"Text to binary converter","url":"https://setget.net/tools/binary-text"}
