Skip to content

Tools/Auth headers

Auth headers

Build Authorization: Basic, Bearer, and a Digest example. Nothing is uploaded.

Loading tool…

How to use Auth headers

  1. 1. Enter username and password. Used for Basic and Digest.
  2. 2. Optional Bearer token. Pasted as-is.
  3. 3. Copy the Authorization lines. Digest uses realm and nonce you provide.
  4. 4. Nothing is sent. Encoder only.

About this tool

Authorization headers are still the fastest way to document an API. This tool Base64-encodes Basic, prefixes Bearer, and builds a classic Digest MD5 response for GET without qop — enough to understand the wire format.

Digest is a sketch

No qop, no HA2 extras, no 401 round-trip. Production Digest needs the challenge from the server.

Never log these

Basic is reversible. Treat the output as secret.

Code examples

Basic

Authorization: Basic YWRhOnNlY3JldA==

Frequently asked questions

Related tools

All tools