- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
HTTP Basic Auth Header Generator
Build the Authorization: Basic header from a user name and password, with the Base64 string and ready code for curl, fetch, Python and Axios.
- Free
- No sign-up
- Works on any device
About HTTP Basic Auth Header Generator
HTTP Basic authentication sends the user name and password joined by a colon, encoded in Base64, in the Authorization header. This tool builds that header as RFC 7617 describes, encoding the text as UTF-8 so accented and non-Latin characters work. It rejects a user name that contains a colon, shows the Base64 string alone and writes code for curl, fetch, Python requests and Axios. The RFC example of Aladdin and open sesame gives QWxhZGRpbjpvcGVuIHNlc2FtZQ==. Base64 is not encryption, so use HTTPS.
How to use HTTP Basic Auth Header Generator
- Type the user name and password the API expects.
- Add the URL you want in the examples.
- Copy the header or the snippet for your language.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
- Available in 10 languages.
Also known as
Frequently asked questions
Is the password protected by Base64?
No. Base64 is reversible by anyone. Basic authentication is safe only over HTTPS, where the whole request is encrypted in transit.
Why can the user name not contain a colon?
The first colon marks where the user name ends and the password begins. A colon in the user name would make the split ambiguous, so RFC 7617 forbids it.
Why does my JavaScript btoa call fail on some characters?
btoa accepts only Latin-1 characters. For other text, encode it as UTF-8 first, as this page does, and use the Base64 string shown.
Is HTTP Basic Auth Header Generator free?
Yes. HTTP Basic Auth Header Generator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put HTTP Basic Auth Header Generator on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.