OTP Code Generator
Generate TOTP (time-based, RFC 6238) and HOTP (counter-based, RFC 4226) one-time passcodes from a Base32 secret — a live, auto-refreshing view with a QR code, the same 2FA codes an authenticator app produces, computed entirely in your browser.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Mode
totp, hotp Secret (Base32)
Hash algorithm
sha1, sha256, sha512 Digits
6, 7, 8 Unix timestamp (seconds)
x >= 0Period (seconds)
1 <= x <= 300Counter
x >= 0Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.