Basic Auth Generator

Generate HTTP Basic Authorization headers from a username and password locally in the browser.

Basic Auth Generator

The Basic Auth Generator creates an HTTP Basic Authorization header locally in the browser from a username and password, and also provides a ready-to-copy cURL example for API debugging, integration work, and development checks.

How do you use it?

  1. Enter a username and password.
  2. The tool automatically generates the Basic Authorization header.
  3. Copy the result or use the cURL example directly.
  4. Everything runs locally in the browser.

Features

  • Generates Basic Auth headers locally
  • Outputs a ready-to-copy cURL example
  • Supports copy and download

Why use this tool?

  • Prepare API test credentials quickly
  • Avoid manually encoding Base64
  • Keep sensitive data off the server

Related Security Tools

Hash Generator

Generate MD5, SHA-1, SHA-256 and other hashes.

Enhanced Hash Generator

Generate MD5 and SHA-family hashes in the browser with HEX, Base64, SRI output, and expected digest verification for text or files.

HMAC Generator

Generate HMAC-SHA1, HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512 in the browser for text or files, with HEX, Base64, and expected signature verification.

SRI Hash Generator

Generate SHA-256, SHA-384, and SHA-512 Subresource Integrity values in the browser for text or files, and build ready-to-use integrity HTML snippets.

PBKDF2 Key Derivation

Derive PBKDF2 keys in the browser from a password, salt, hash algorithm, iteration count, and output length, with HEX and Base64 output.

Scrypt Key Derivation

Derive scrypt keys in the browser from a password, salt, N, r, p, and output length, with HEX and Base64 output.

bcrypt Password Hash

Generate salted bcrypt password hashes in the browser from a password and cost rounds, with copy and download support.

bcrypt Verifier

Verify in the browser whether a password matches a bcrypt hash, with instant local compare results.

Argon2 Password Hash

Generate standard encoded Argon2 password hashes in the browser from a password, salt, algorithm, iterations, memory size, and parallelism.

Argon2 Verifier

Verify in the browser whether a password matches an encoded Argon2 hash, with optional secret / pepper support.

密码强度检测

本地 password-strength-checker 思路,在浏览器本地通过 zxcvbn 等算法实时分析密码强度、破解耗时与改进建议。

AES Encrypt / Decrypt

Encrypt or decrypt text in the browser with AES-GCM, AES-CBC, or AES-CTR using a password-derived key or a raw hex key.

JWT Decode / Verify

Decode JWT header and payload locally in the browser, verify HS256 / HS384 / HS512 signatures, and check common claims like exp, nbf, iss, aud, and sub.

JWT 签名

本地 JWT 签名思路,在浏览器本地生成签名 Token。

Basic Auth Decoder

Decode HTTP Basic Authorization headers locally in the browser and extract the username and password.

Cookie Parser

Parse Cookie and Set-Cookie headers locally in the browser and output structured JSON.