Security & Network

Basic Auth Header Generator

Encode a username and password pair into an HTTP Basic Authorization header value.

№ 056Runs locally

What this tool does

Basic Auth Header Generator. Encode a username and password pair into an HTTP Basic Authorization header value.

When to use it

Use it when testing a Basic-authenticated request. Basic authentication is only Base64-encoded, so always send it over HTTPS.

How to use

  1. Try this sample input first: Ada:demo-password.
  2. Choose or adjust the options this tool provides; leave unrelated settings at their defaults.
  3. Run the tool and read any validation or status message. Correct the input format before trying again if needed.
  4. Check whether the result matches the example output: Authorization: Basic QWRhOmRlbW8tcGFzc3dvcmQ=. Then copy or download it.

Your input and files are processed in this browser. They are not uploaded by this toolbox.

Input and output example

Sample input
Ada:demo-password
Sample output
Authorization: Basic QWRhOmRlbW8tcGFzc3dvcmQ=