{"ok":true,"data":{"tool":{"slug":"random-token-generator","name":"Random Token Generator","section":"tools","category":"Security","subcategory":"Hashes & Tokens","url":"/tools/hashes-and-tokens/random-token-generator/","status":"live","api_mode":"execute","webmcp_mode":"omit_sensitive_output","processing_mode":"client-side","privacy_mode":"sensitive-local","summary":"Generate a fresh random token from 8–128 browser-created bytes and encode it as hex, Base64, or Base64URL.","input_schema":{"type":"object","properties":{"bytes":{"type":"number","description":"Choose how many random bytes of entropy the token should contain; 32 bytes is suitable for many secrets."},"encoding":{"type":"string","enum":["hex","base64","base64url"],"description":"Text encoding for the generated bytes."}},"required":["bytes","encoding"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"token":{"type":"string","description":"Generated token; sensitive output."},"bytes":{"type":"number","description":"Number of random bytes."},"format":{"type":"string","description":"Applied text encoding."},"entropy_bits":{"type":"number","description":"Nominal random-bit count, bytes × 8."}},"additionalProperties":false},"examples":[{"title":"Generate a 32-byte URL-safe token","description":null,"input":{"bytes":32,"encoding":"base64url"},"output":{"token":"4vNQ-Km1oE7zL2xYpR8uC5aW0sT9dH3bJ6fGqI2nMkc","bytes":32,"format":"base64url","entropy_bits":256}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"912f11f61e021b9f89888ce7"}