Monu Tools

이미지 Base64 변환기

브라우저에서 이미지를 HTML, CSS 또는 JSON에 내장하기 위한 Base64 데이터 URI로 변환합니다.

Image to Base64 사용 방법

  1. 01

    기기에서 이미지를 선택하세요.

  2. 02

    데이터 URI나 준비된 CSS 스니펫을 복사하세요.

  3. 03

    HTML, CSS 또는 JSON에 붙여넣으세요.

What this converter does

This image to Base64 converter turns a picture into a data URI, a long text string that embeds the image directly, plus a ready-to-use CSS background snippet. You can inline an image instead of linking to a separate file.

It runs locally in your browser, so your image is read on your device and never uploaded.

Why inline an image

A data URI carries the whole image inside the markup, so the browser does not make a separate network request to fetch it. For small assets like icons, that saved round trip can make a page feel faster.

The trade-off: size and caching

The catch is size and caching. Base64 adds roughly 33 percent overhead because it represents binary data with a limited text alphabet, and an inlined image cannot be cached separately, so it is downloaded again with every page that contains it.

The rule of thumb is to inline small images, icons, tiny logos or a sprite, where avoiding a request is worth the overhead, and to keep larger images as normal files that the browser can cache and load in parallel.

Where data URIs work

Data URIs work anywhere a URL is accepted: an img src, a CSS background, or a field in JSON or an email template. That makes them handy for self-contained snippets.

자주 묻는 질문

이미지가 서버에 업로드되나요?

아니요. 이미지는 브라우저에서 완전히 읽히므로 기기 밖으로 나가지 않습니다.

데이터 URI는 언제 사용해야 하나요?

추가 네트워크 요청을 피하는 것이 크기 증가를 감수할 만한 아이콘 같은 작은 이미지에 사용하세요. 큰 이미지에는 일반 파일이 더 좋습니다.

Base64가 파일보다 큰 이유는 무엇인가요?

Base64 인코딩은 제한된 텍스트 알파벳을 사용하여 이진 데이터를 나타내므로 약 33%의 오버헤드가 발생합니다.

출처

이 도구 임베드하기

이 도구를 직접 운영하는 웹사이트에 추가하세요. 아래 코드를 복사하면 자동으로 최신 상태로 유지됩니다.

<iframe src="https://monu.tools/embed/ko/image-to-base64" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

관련 도구