Basic Auth Header Generator & Decoder
Make the “Authorization: Basic …” header from a username and password, or decode an existing one.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Basic Auth is only Base64, not encryption: anyone can decode it. Only send it over HTTPS. Runs in your browser; use test accounts.
How to use it (step by step)
- 1Fill in the boxes: “Username”, “Password”, “Or paste a header to decode (optional)”. Example numbers are already there so you can see how it works; replace them with yours.
- 2The result updates instantly as you type (on a phone it is below the boxes).
- 3The bold line is the main answer. Tap Copy next to any value to copy it.
Words to know
- Basic auth
- A simple login sent as “username:password” in Base64. It is encoding, not encryption, so use it only over HTTPS.
- Base64
- A way to turn any file or text into plain letters and numbers so it can be sent safely inside text.
More in Developer
SQL Formatter (Beautifier)Format long SQL queries into readable lines: SELECT, FROM, JOIN, WHERE, GROUP BY each on their own line.CSS MinifierShrink CSS by removing comments, spaces and line breaks without changing how the page looks.CSS Beautifier (Formatter)Turn minified or messy CSS into neat, indented rules: one property per line.HTML MinifierRemove comments and extra spaces from HTML to make pages smaller, keeping <pre> and scripts safe.HTML Beautifier (Formatter)Indent messy or one-line HTML so every tag is easy to read. Keeps text, scripts and <pre> blocks safe.String Escape / Unescape (JS, SQL, CSV, Regex, Shell)Escape text safely for JavaScript, JSON, SQL, CSV, regular expressions or the command line, and back.