{"uid":"cap_f0sI4Moybi8A41DMjikK8","slug":"agent402-tools-binary-text-converter-ff0f4b6a","name":"agent402.tools Binary-Text Converter","description":"Convert text to its binary (base-2) representation (8-bit per character, space-separated) or decode binary back to text. Deterministic, pure CPU.","url":"https://agent402.tools/api/binary-text","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"text to encode, or space-separated binary string to decode"},"decode":{"type":"boolean","description":"If true, decode binary to text (default: false)"}}},"responseSchema":{"type":"json","example":{"mode":"encode","result":"01001000 01101001","original":"Hi"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__NLS_kttPSVyvlv7bJlQ8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to 8-bit space-separated binary representation, or decodes binary strings back to text","exampleAgentPrompt":"Can you convert the text 'Hello World' to its binary representation — each character as 8-bit groups separated by spaces?","exampleUseCases":null,"resultDescription":"Returns the input text encoded as space-separated 8-bit binary strings (one group per character), or when decode=true, returns the original text decoded from a space-separated binary input string.","failureModes":["Invalid binary string when decoding (e.g. non-0/1 characters or wrong bit count) may return an error or garbled output","Empty text input returns an empty or error response","Extremely long strings may hit payload limits","Non-ASCII characters may not encode to standard 8-bit binary cleanly"],"whenToPreferThis":"Use this endpoint when you need a simple, deterministic, pure CPU text-to-binary or binary-to-text conversion without any external dependencies. Ideal for encoding/decoding ASCII text in 8-bit binary format in a single API call. Prefer this over custom code when you need a reliable, hosted, pay-per-call micro-service for binary encoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:03.630Z","isFirstParty":false}