# Welcome to 2FAuth Docs

2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.

Screenshots of 2FAuth on mobile
Screenshots of 2FAuth on mobile

Screenshots of 2FAuth on mobile
Screenshots of 2FAuth on mobile

# Why 2FAuth

Two-Factor Authentication has become very popular in recent years, resulting in more and more situations where we face a security code request and an increase in the number of accounts protected by this technology. In other words, 2FA is now inevitable and critical.

2FAuth's purpose is to simplify how you use and manage your 2FA with a clean and suitable interface, no matter what device you use. In front of your computer without your smartphone and dealing with a code request? No problemo, just open your 2FAuth instance in a browser tab and voilà!

Moreover, as an open source and self-hosted application, it lets you regain control over your personal security data, giving you privacy and the ability to back it up (Have you lost a smartphone with all your 2FA accounts inside Google Auth? I did... it really sucked)

# Features

# Generate passwords

The main purpose of 2FAuth: Serve you some fresh TOTP/HOTP security codes aka One-Time Passwords.

# Work anywhere

It's a Web App, it just works, whatever device you're on. You only need one device (not even yours) and an Internet connection.

# QR codes scan

Scan and decode QR codes to add a 2FA account in no time. Actually, it decodes any QR code, even non 2FA.

# 2FA management

Manage your 2FA accounts, organize and classify them using Groups, edit & delete them. You can even manually add an account without scanning a QR code.

# Protect your data

2FAuth protects your data with Privacy, Self-hosting, Encryption, WebAuthn authentication, OTP obfuscation, and Auto lock.

# Multi-user

Share your instance with your family, your friends. Everyone can have an account.

# Import / Export

Migrate from another 2FA app to 2FAuth or export your 2FA data in a breeze.


2FAuth provides a REST API which lets you perform most of its functionalities from any external application. Have a look at the API documentation to find out how to use it.

# Demo website

Want to try 2FAuth? A demo is available at https://demo.2fauth.app

You can connect using the email address demo@2fauth.app and the password demo. The demo is reset every hour.