🔐

Basic Auth Header Generator & Decoder

Software · 3 inputs · Free

🔐

Basic Auth Header Generator & Decoder

3 inputs

Parameters

What is this tool?

Basic Auth Header Generator & Decoder helps developers with encoding, encryption and text processing. Builds the HTTP Basic authentication header (RFC 7617) from a username and password: Authorization: Basic <Base64(user:password)>, encoded as UTF-8, together with a ready-to-use curl line. Paste an existing Authorization header or bare Base64 into the third field and the tool decodes it instead, showing the username and password. Basic authentication is encoding, not encryption, and must only be used over HTTPS. Everything runs in your browser; the username and password are never sent anywhere.

📘 Common mistakes · Worked example
UsernamePasswordHeader to decode (optional)

Builds the HTTP Basic authentication header (RFC 7617) from a username and password: Authorization: Basic <Base64(user:password)>, encoded as UTF-8, together with a ready-to-use curl line. Paste an existing Authorization header or bare Base64 into the third field and the tool decodes it instead, showing the username and password. Basic authentication is encoding, not encryption, and must only be used over HTTPS. Everything runs in your browser; the username and password are never sent anywhere.

The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.

Last reviewed: · Methodology and sources

How is it calculated?

Builds the HTTP Basic authentication header (RFC 7617) from a username and password: Authorization: Basic <Base64(user:password)>, encoded as UTF-8, together with a ready-to-use curl line. Paste an existing Authorization header or bare Base64 into the third field and the tool decodes it instead, showing the username and password. Basic authentication is encoding, not encryption, and must only be used over HTTPS. Everything runs in your browser; the username and password are never sent anywhere.

Inputs

ValueUnitExample
Username—Aladdin
Password—open sesame
Header to decode (optional)—

What is this tool?

Basic Auth Header Generator & Decoder helps developers with encoding, encryption and text processing. Builds the HTTP Basic authentication header (RFC 7617) from a username and password: Authorization: Basic <Base64(user:password)>, encoded as UTF-8, together with a ready-to-use curl line. Paste an existing Authorization header or bare Base64 into the third field and the tool decodes it instead, showing the username and password. Basic authentication is encoding, not encryption, and must only be used over HTTPS. Everything runs in your browser; the username and password are never sent anywhere.

Common mistakes

  • Mistaking Base64 for encryption. The encoding has no key and anyone can reverse it; confidentiality comes from HTTPS, not from Base64.
  • Putting a colon in the username. The tool rejects it: The username cannot contain a colon (:): per RFC 7617 the first colon separates the username from the password.
  • Sending the header over plain HTTP. Anyone on the network path can read the password.
  • Base64-encoding the username and the password separately and then joining them. The text user:password is built first and encoded as a whole.
  • Using different character encodings on the client and the server. A password containing £, é or ü gives different Base64 values in UTF-8 and ISO-8859-1; when logins work only with ASCII passwords, this is usually why.
  • Trying to decode a Bearer header with this tool. It decodes the Basic scheme only: Only the Basic scheme can be decoded; this header uses the Bearer scheme.
  • Pasting the header value into version control, a log file or a shared document. The header is the password; if it leaks, change the password.

📘 How to Build a Basic Auth Header: Base64, UTF-8 and RFC 7617 →

Sources

Key terms

UsernamePasswordHeader to decode (optional)

Frequently Asked Questions

+Basic Auth Header Generator & Decoder — how is it calculated?

Builds the HTTP Basic authentication header (RFC 7617) from a username and password: Authorization: Basic <Base64(user:password)>, encoded as UTF-8, together with a ready-to-use curl line. Paste an existing Authorization header or bare Base64 into the third field and the tool decodes it instead, showing the username and password. Basic authentication is encoding, not encryption, and must only be used over HTTPS. Everything runs in your browser; the username and password are never sent anywhere.

+Which values are required?

Username, Password, Header to decode (optional).

+Is my data stored?

No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.

+Is it free?

Yes, all tools are free and require no sign-up.

Similar tools

Popular Tools

🧮

Free Calculators in One Place

Tax, finance, health, math and more — 500+ tools, all in one place.

Choose your cookie preference to continue

Records the site needs to work (theme, language, favourites) stay in your browser.

This site is free and funded by ads.

With your consent, Google Analytics cookies measure visits and Google AdSense cookies are used to show ads; the data is processed on Google servers abroad.

If you reject, the site works just the same.

Cookie Policy · KVKK notice