# Basic Auth Header Guide

Build an HTTP Basic Authorization header from a user and password.

- Tool: https://ilham.dev/tools/basic-auth-generator/
- Guide URL: https://ilham.dev/guides/basic-auth-generator/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: HTTP and API Debugging (https://ilham.dev/guides/http-api-debugging/)

## What it does

Build the Authorization: Basic header value from a username and password, and optionally produce a ready-to-use curl command. The encoding is plain Base64, which is exactly why it is only safe over HTTPS.

## Use the tool

Open https://ilham.dev/tools/basic-auth-generator/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Encoding.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## Questions

### Is Basic authentication encrypted?

No. The credentials are Base64-encoded, which anyone can reverse. They are protected only by the TLS connection carrying them, so never use it over plain HTTP.