Monu Tools

JSON 압축기

브라우저에서 JSON을 압축하고 유효성을 검사하여 절약된 바이트 수를 확인합니다.

JSON 압축기 사용 방법

  1. 01

    JSON을 붙여넣으세요.

  2. 02

    자동으로 유효성 검사 후 압축됩니다.

  3. 03

    압축된 결과를 복사하고 절약된 바이트를 확인하세요.

What minifying does

A JSON minifier validates your JSON and strips out every unnecessary character, the spaces, indentation and line breaks that make JSON readable, then reports how many bytes and what percentage you saved.

Minified JSON is identical in meaning to the formatted version; only the cosmetic whitespace is gone. That makes it the right form for production: API responses, config bundled into an app, or any payload where transfer size and parse time matter.

How it works and validates

It runs in your browser using the native JSON engine, so the output is exactly what your own code would produce. Because it parses first, a successful minify also confirms your JSON is valid; invalid input returns a precise error instead.

What changes and what does not

One subtle effect is number normalization, which is part of the JSON standard rather than this tool: 1.50 becomes 1.5 and 1e3 may be rewritten, because those represent the same value. Keys, strings, booleans and structure are never changed.

Minification and gzip together

Minification and gzip are complementary, not alternatives. Servers usually gzip responses, which compresses repeated text heavily; minifying first removes whitespace the compressor would otherwise have to handle, and the two together give the smallest transfer.

The reverse, and privacy

When you need to read or edit JSON instead of shrink it, the JSON Formatter does the reverse, pretty-printing it with clean indentation. Nothing you paste here is uploaded.

자주 묻는 질문

JSON 압축이란 무엇인가요?

동일한 데이터를 유지하면서 불필요한 공백과 줄바꿈을 제거하여 가장 작은 유효한 JSON을 생성합니다. 전송 속도가 빨라집니다.

데이터가 변경되나요?

아니요. 서식만 제거됩니다. 키, 값, 타입이 유지되고 숫자는 JSON 표준에 따라 정규화됩니다(예: 1.50은 1.5가 됨).

JSON이 잘못된 경우 어떻게 되나요?

파서의 오류 메시지가 표시되어 수정할 수 있습니다. JSON이 유효해질 때까지 압축되지 않습니다.

출처

이 도구 임베드하기

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

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

관련 도구