Encoding

Basic Auth Header

Build an HTTP Basic Authorization header.

How to use Basic Auth Header

Basic Auth Header — Build an HTTP Authorization header for the Basic scheme from a username and password. Free to use in D2i DevTools — no account required.

Steps

  1. Fill in Username. This field is required.
  2. Enter Password.
  3. Click Run and copy the result under the form.

Frequently asked questions

What is Basic Auth Header used for?

Use it when a local request needs a Basic header and you do not want to encode it by hand.

How do I use the free online Basic Auth Header tool?

Fill in Username. This field is required. Enter Password. Click Run and copy the result under the form.

What can I paste or upload into Basic Auth Header?

Enter the username and password. The username cannot contain a colon. Neither field can contain a newline.

What output does Basic Auth Header give me?

One line: Authorization: Basic, then the Base64 of username:password. The password is not stored.

Is Basic Auth Header free, and is my input private?

Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.

Does this send the header anywhere?

No. It only prints the header. You copy it into your own request. The password stays in this request's memory.

Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.