Base64 파일 디코딩
Base64 문자열을 붙여넣고 원본 파일로 디코딩하세요. 이미지, PDF, ZIP 등 모든 형식을 지원합니다.
100% 클라이언트 사이드 — 데이터가 기기를 떠나지 않습니다
Base64 문자열을 붙여넣고(data: 프리픽스 유무 상관없이) 파일로 다운로드하세요. MIME 타입은 데이터 URI에서 자동으로 감지됩니다.
코드 예제
프로젝트에 바로 사용할 수 있는 코드 스니펫입니다.
Node.js
import { writeFileSync } from "fs";
function saveBase64ToFile(b64String, outputPath) {
const clean = b64String.includes(",") ? b64String.split(",")[1] : b64String;
const buffer = Buffer.from(clean, "base64");
writeFileSync(outputPath, buffer);
}자주 묻는 질문
아래에서 검색하거나 가장 일반적인 질문을 둘러보세요.
입력 영역에 Base64 문자열을 붙여넣으세요. 데이터 URI 스킴이 포함된 경우 파일 유형이 자동으로 감지됩니다. 그런 다음 디코딩된 파일을 바로 다운로드할 수 있습니다.
유효한 Base64 문자열은 어떤 파일로든 디코딩할 수 있습니다. 이미지, 문서(PDF, DOCX), 오디오, 비디오, 아카이브(ZIP, TAR) 등이 포함됩니다.
Related Tools
Base64 Converter
Encode text to Base64 or decode Base64 to text — all in one tool
File to Base64
Convert any file (PDF, image, audio, doc) to a Base64 string instantly in your browser
Base64 to PDF Converter
Convert Base64 strings directly into downloadable PDF files with instant preview
Base64 to Image
Decode Base64 strings into images instantly. Live preview your image and download the raw file
Base64 Analyzer
Analyze Base64 strings to determine their validity, character set, padding, length, and decoded data type