# Basic Auth Header

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

## URL

https://ilham.dev/tools/basic-auth-generator/

## 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.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Is Basic authentication encrypted?




## 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.

