{"category":"encoding","endpoint":"https://setget.net/v1/tools/hex","examples":[{"input":{"text":"Hello"},"output":{"bytes":5,"text":"48656c6c6f"}},{"input":{"separator":"colon","text":"Hi!","uppercase":true},"output":{"bytes":3,"text":"48:69:21"},"title":"Upper case with colons"},{"input":{"action":"decode","text":"0x48 0x65 6c:6c:6f"},"output":{"bytes":5,"text":"Hello"},"title":"Decoding ignores prefixes and separators"}],"input_schema":{"additionalProperties":false,"properties":{"action":{"default":"encode","description":"Encode text to hex, or decode hex to text.","enum":["encode","decode"],"type":"string"},"separator":{"default":"none","description":"What to put between bytes when encoding.","enum":["none","space","colon"],"type":"string"},"text":{"description":"The text to encode, or the hex to decode.","examples":["Hello"],"maxLength":1000000,"type":"string"},"uppercase":{"default":false,"description":"Write the hex digits A-F in upper case when encoding.","type":"boolean"}},"required":["text"],"type":"object"},"keywords":["hex","hexadecimal","text to hex","hex to text","hex decode","hex encode","hex string","ascii to hex"],"related":["base64","binary-text","string-escape-bytes","hash"],"slug":"hex","summary":"Convert text to hexadecimal bytes and back, with optional upper case and separators.","tier":"inline","title":"Hex encoder and decoder","url":"https://setget.net/tools/hex"}
