Basic Auth Header Generator
NOVOTurn a username and password into an HTTP Authorization: Basic header with curl and fetch snippets, or decode a header back.
Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.
Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.
Create a header
Decode a header
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
HTTP Basic authentication sends credentials in an Authorization header: the word Basic, a space, and the Base64 encoding of username:password. It is simple and supported by almost every server, proxy and API client, which makes it handy for testing and internal tools.
This generator builds the header for you, encoding the text as UTF-8 so accented and non-Latin characters survive, and prints matching curl -u and fetch examples. You can also paste a header to see the username and password inside. Base64 is not encryption, so only send Basic credentials over HTTPS.
Use it for quick tests against staging servers, webhooks and internal dashboards. Basic authentication is a weak scheme on its own: the header can be read by anyone who sees the request, so never use real production passwords on a shared or untrusted computer.
Por que usar esta ferramenta?
- Build a correct header without a terminal or script
- Handles non-ASCII usernames and passwords as UTF-8
- Get ready-to-paste curl and fetch snippets
- Decode a header to debug a failing login
Recursos
Header builder
Outputs the full Authorization: Basic line plus the bare token.
UTF-8 safe
Characters like ü, é or 日本 are encoded as UTF-8 before Base64.
curl and fetch
Copy a curl -u command or a JavaScript fetch call for your URL.
Header decoder
Paste a full header or just the Base64 part to read user and password.
Show or hide
The password field is masked until you choose to reveal it.
Runs locally
Nothing you type is sent anywhere or stored.
Como usar
Enter credentials
Type the username and password, plus the URL you want in the snippets.
Copy the output
Copy the header, the curl command or the fetch code.
Send over HTTPS
Use the header only on HTTPS requests so it cannot be read in transit.
Decode when debugging
Paste an existing header into the decoder to see what it contains.