Authorization: Basic c3ZjX2RlcGxveTpwQHNzd29yZC11dGY4LeKckw==
c3ZjX2RlcGxveTpwQHNzd29yZC11dGY4LeKckw==
curl -H "Authorization: Basic c3ZjX2RlcGxveTpwQHNzd29yZC11dGY4LeKckw==" https://api.example.com/v1/resource
fetch('https://api.example.com/v1/resource', {
headers: { Authorization: 'Basic c3ZjX2RlcGxveTpwQHNzd29yZC11dGY4LeKckw==' }
});Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to Encode or Decode Basic Auth Headers
- 1Choose Encode mode to enter credentials and inspect the Base64 token, HTTP header, cURL, and Fetch snippets.
- 2Or switch to Decode mode and paste an Authorization: Basic header to verify encoded credentials.
- 3Copy only what you need; no passwords ever leave your browser memory.
Why Credentials Never Leave Browser Memory
Pasting API secrets or service passwords into server-backed web tools risks instant access-log capture. This tool computes Base64 purely via TextEncoder.
Frequently Asked Questions
Enjoying UTF-8 Safe HTTP Basic Auth Encoder & Decoder?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
UUID / GUID v4 Generator
Generate cryptographically secure random UUID v4 identifiers in bulk
Crypto Hash Calculator
Compute SHA-256, SHA-512, SHA-1, and MD5 hashes purely client-side via Web Crypto
JWT Builder & Signer
Build, mock, and sign JSON Web Tokens with HMAC-SHA256 in browser memory
HTTP Security Headers Analyzer & Hardening Fixer
Audit raw HTTP response headers against OWASP best practices with A+ to F grading and Nginx fixes.