Base64 Encoder / Decoder

Encode text and files to Base64, or decode Base64 strings back. Free, instant, works in your browser.

Base64 인코더 / 디코더

텍스트와 파일을 Base64로 인코딩하거나 Base64 문자열을 디코딩하세요. 무료, 즉시, 브라우저에서 작동.

Plain Text
Base64
📂
Drop any file here, or click to select
Image, PDF, binary — any file type
Characters: 0
Paste Base64 string (with or without data URL prefix)
How to use
Step 1

Choose conversion type

Select the tab that matches your task: text encode/decode, file to Base64, or Base64 back to a file.

Step 2

Paste text or drop a file

Type or paste your plain text into the left panel, or drag and drop any file onto the upload area.

Step 3

Result appears instantly

Encoding and decoding happen in real time in your browser — no upload, no server, fully private.

Step 4

Copy or download

Click Copy to grab the Base64 output, or use Download File to save the decoded result to your device.

사용 방법
Step 1

변환 유형 선택

텍스트 인코딩/디코딩, 파일 → Base64, Base64 → 파일 중 원하는 탭을 선택하세요.

Step 2

텍스트 붙여넣기 또는 파일 드롭

왼쪽 패널에 일반 텍스트를 입력하거나, 파일을 업로드 영역에 드래그 앤 드롭하세요.

Step 3

결과 즉시 표시

인코딩과 디코딩은 브라우저에서 실시간으로 처리됩니다. 서버 업로드 없이 완전히 비공개로 작동합니다.

Step 4

복사 또는 다운로드

복사 버튼으로 Base64 결과를 클립보드에 저장하거나, 파일 다운로드 버튼으로 디코딩된 파일을 저장하세요.

FAQ
What is Base64 encoding and what is it used for?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It is widely used to embed images in HTML/CSS (as data URLs), transmit binary data in JSON APIs, encode email attachments (MIME), and store binary data in environments that only support text.
How do I encode an image to Base64 online?
Switch to the "File → Base64" tab, then drag and drop your image file onto the upload area or click to browse. The tool instantly converts it to a Base64 data URL. You can toggle between the full data:image/...;base64, prefix and the raw Base64-only string.
How do I decode a Base64 string back to a file?
Go to the "Base64 → File" tab, paste your Base64 string (with or without the data URL prefix), choose the file type if not auto-detected, and click "Download File". Your browser will prompt you to save the decoded file.
Does Base64 encoding make data secure?
No. Base64 is an encoding scheme, not encryption. Anyone can decode a Base64 string without a key. Do not use Base64 to protect sensitive data — use proper encryption (AES, RSA, etc.) instead. Base64 is only for encoding, not security.
Why is Base64 encoded data longer than the original?
Base64 encodes every 3 bytes of binary data as 4 ASCII characters, which means the output is approximately 33% larger than the input. This overhead is the trade-off for representing arbitrary binary data as safe, printable text characters.
자주 묻는 질문
Base64 인코딩이란 무엇이고 어떤 용도로 사용되나요?
Base64는 바이너리 데이터를 64개의 출력 가능한 ASCII 문자로 표현하는 인코딩 방식입니다. HTML/CSS에 이미지 삽입(데이터 URL), JSON API에서 바이너리 데이터 전송, 이메일 첨부 파일 인코딩(MIME), 텍스트만 지원하는 환경에서 바이너리 데이터 저장 등에 널리 사용됩니다.
이미지를 온라인으로 Base64로 인코딩하는 방법은?
"파일 → Base64" 탭으로 전환한 후, 이미지 파일을 업로드 영역에 드래그 앤 드롭하거나 클릭해서 파일을 선택하세요. 도구가 즉시 Base64 데이터 URL로 변환합니다. 전체 data:image/...;base64, 접두사 포함 여부를 토글로 선택할 수 있습니다.
Base64 문자열을 파일로 다시 디코딩하는 방법은?
"Base64 → 파일" 탭으로 이동하여 Base64 문자열을 붙여넣고(데이터 URL 접두사 포함 여부 무관), 파일 유형이 자동 감지되지 않으면 선택한 후 "파일 다운로드"를 클릭하세요. 브라우저가 디코딩된 파일을 저장하도록 안내합니다.
Base64 인코딩으로 데이터를 보안처리할 수 있나요?
아니요. Base64는 인코딩 방식이지 암호화가 아닙니다. 누구든지 키 없이 Base64 문자열을 디코딩할 수 있습니다. 민감한 데이터 보호에는 Base64를 사용하지 말고 적절한 암호화(AES, RSA 등)를 사용하세요.
Base64로 인코딩된 데이터가 원본보다 크기가 더 큰 이유는?
Base64는 바이너리 데이터 3바이트를 ASCII 문자 4개로 인코딩하기 때문에 출력이 입력보다 약 33% 더 큽니다. 이것은 임의의 바이너리 데이터를 안전한 출력 가능 텍스트 문자로 표현하기 위한 트레이드오프입니다.