OTPilot

Free tool

otpauth QR code decoder

Turn a 2FA setup QR code into its otpauth:// link and secret. Decoding happens in your browser; the image is not uploaded.

Need an AI agent to get this code? Give it an API call instead of the secret.

Give this code to your agent

What is inside a 2FA QR code?

A link like otpauth://totp/Acme:ops@acme.com?secret=JBSWY3DPEHPK3PXP&issuer=Acme. The secret is the base32 key; algorithm, digits and period are optional and default to SHA1, 6 and 30.

Why decode it?

To move a 2FA account to another authenticator, back it up, or store it somewhere an automation can use it — for example in OTPilot, so an AI agent can get codes without ever holding the secret.

Have the key already? Use the TOTP code generator.