Skip to content
cosmodev ~/tools/basic-auth-generator

Basic Auth 생성기

Encoders & Crypto

사용자 이름과 비밀번호로 HTTP Basic Access Authentication 헤더를 만들거나 기존 Authorization 헤더를 자격 증명으로 디코딩합니다. UTF-8 안전, 완전 클라이언트 동작, 공유 링크 지원.

(문서는 영어)

What it does

Builds an HTTP Authorization: Basic <token> header live from a username and password (Base64Base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt.-encoded, UTF-8 safe), decodes an existing header back into its fields, and flags credential mistakes before they ship.

How to use it

  1. Type a username and password — the header builds live in the output panel.
  2. Already have a header? Open Paste an Authorization header, paste it, then Parse & load to decode it into the fields.
  3. Copy the header, download it as basic-auth-header.txt, or share the URL — your input is encoded in the link.

Examples

  • user / pass → Basic dXNlcjpwYXNz
  • Paste Authorization: Basic dXNlcjpwYXNz → loads user / pass into the fields
  • Username a:b → warns: ":" in username — credentials become ambiguous

Good to know

  • Private: encoding/decoding is local — credentials never leave your browser.
  • Basic Auth is not secure over plain HTTP — pair it with HTTPS. Prefer tokens/OAuth for new APIs.
  • A username containing : is flagged because the user:pass split happens at the first colon — conforming parsers silently truncate the username.
  • Non-ASCII passwords are flagged per RFC 7617: its default charset is UTF-8, but many servers assume ISO-8859-1/US-ASCII and mangle or reject such bytes.
  • Passwords containing colons are handled correctly.
  • Related tools: Base64Base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt., HTTP Status Codes.
소스 코드14개 언어

100% 클라이언트 측 · 데이터는 브라우저 밖으로 나가지 않습니다. 도움이 되었나요? 팀원에게 공유해 보세요.