Base64
인코딩 및 암호화 · 무료 온라인 도구
UTF-8을 지원하는 Base64 인코딩 및 디코딩.
Click "Encode" or "Decode" to transform your text...인코딩
Unicode와 emoji를 포함한 모든 텍스트를 안전한 전송을 위해 Base64 문자열로 변환.
디코딩
Base64 문자열을 붙여넣어 원본 UTF-8 텍스트를 즉시 복원. 명확한 오류 피드백 제공.
UTF-8 안전
TextEncoder를 통한 완전한 UTF-8 지원——CJK 문자, emoji, 기호를 올바르게 처리.
Base64 사용 방법
- 1Enter or paste your data into the input field.
- 2Select the desired encoding, hashing, or encryption options.
- 3Click the action button to process your data.
- 4Copy the result from the output field.
주요 기능
- ✓100% 무료 — 가입, 구독, 광고 없음
- ✓브라우저에서만 실행 — 데이터는 기기를 떠나지 않습니다
- ✓빠르고 가벼움 — 즉시 결과 확인
- ✓크로스 플랫폼 — 데스크톱, 태블릿, 모바일 지원
Base64 소개
Base64 is a binary-to-text encoding scheme defined by RFC 4648 that converts binary data into a set of 64 ASCII characters (A-Z, a-z, 0-9, +, /). It is NOT encryption — it is fully reversible and requires no key. Base64 is commonly used for MIME email, Data URLs, JWT payloads, and embedding binary resources in JSON/XML.
Base64 작동 원리
Base64 processes input data in 3-byte (24-bit) blocks, splitting each block into four 6-bit groups. Each 6-bit value maps to one of 64 characters. If the input length is not divisible by 3, padding (=) is appended. UTF-8 text is first encoded to bytes before Base64 encoding.
주요 활용 사례
- ✓API token encoding — pass binary tokens safely in HTTP headers
- ✓Email attachments — MIME encodes binary files as Base64 for text-based transport
- ✓Data URLs — embed small images directly in HTML/CSS as Base64 strings
- ✓JWT tokens — the header and payload sections use Base64URL encoding
Base64 vs Encryption
Base64 is encoding; encryption is a different operation. Base64 is reversible by anyone (no key needed) — its purpose is format compatibility, not confidentiality. Encryption (AES, RSA) requires a key and is designed to hide data. Use Base64 when you need to transport binary data through text-only channels; use encryption when you need to protect data from being read.
보안 및 개인정보
This tool runs entirely in your browser — your data is never uploaded to any server. Base64 itself provides NO security; never use it to protect sensitive data. For password storage use Bcrypt; for confidentiality use AES encryption.
기술 세부 정보
Standard: RFC 4648. Character set: A-Z, a-z, 0-9, +, / (URL-safe variant uses - and _). Padding: one or two = characters. A 1MB input produces ~1.33MB Base64 output (33% size increase). Base64URL (used in JWT) replaces +/ with -_ and omits padding.
자주 묻는 질문
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it without a key. It converts binary to text for transport compatibility, not for security.
Why does Base64 make data larger?
Base64 encodes every 3 bytes into 4 characters, causing a ~33% size increase. This overhead is the trade-off for text-only compatibility.
What is Base64URL?
Base64URL is a URL-safe variant (RFC 4648 §5) that replaces + with - and / with _, and omits padding. It is used in JWT tokens and URL parameters.
관련 도구
개념 배우기
개념 배우기
이 도구 뒤에 있는 프로그래밍 개념을 이해하세요.