콘텐츠로 건너뛰기

Free JSON prettifier, validator and minifier

Make JSON readable, find what’s wrong with it, compare two versions, or shrink it to one line. Paste JSON, or open or drop a file or a whole folder: every change is checked with the exact line and column of any error, and an editable tree lets you open objects and arrays and change keys and values in place. Everything runs in your browser.

How to use

  1. Paste, open or drop JSON

    The page opens with an example. Paste your own JSON, choose a folder or file, or drop one onto the Preview. A folder lists all its JSON files. Files up to 50 MB are read on your device.

  2. Edit, minify and check

    In Edit mode the JSON shows as an editable, coloured tree or as plain text, prettified with 2 spaces, 4 spaces or tabs; Minify puts it on one line. Sort keys A–Z orders object keys. The check box confirms valid JSON or names the line and column of the first error, and Go to error jumps there.

  3. Compare, find and save

    Compare lists every difference between JSON A and B. Find searches keys and values. Save an opened file straight back, Save a copy as a new file, or copy the result.

Example

Paste {"id":12345678901234567890,"tags":["a","b",]} and the check reports the trailing comma on line 1. Remove it and the tree appears, with the JSON spread over lines with 2-space indents, and the id keeps all 20 digits instead of being rounded.

Good to know

Formatting changes only spaces and line breaks, so numbers, escapes and key order stay as written unless you sort keys. JSON with comments, single quotes or trailing commas is reported as an error with an explanation. Nothing is uploaded.

JSON을 다듬고 확인하고 살펴보세요

시도해 볼 수 있는 예가 포함된 페이지가 열립니다. 자신만의 JSON을 붙여넣거나, .json 파일이나 전체 폴더를 미리보기에 놓거나, 하나를 선택하면 한 번에 형식이 지정됩니다. 열어본 파일을 컴퓨터에 바로 저장할 수 있습니다. 상단의 JSON Prettifier 아래에서 편집 또는 비교를 선택합니다. 편집에서 보기는 JSON을 트리, ​​일반 텍스트(공백 2개, 공백 4개 또는 탭으로 미리 표시) 또는 축소된 한 줄로 모두 동일한 방식으로 표시합니다. 키 A~Z 정렬은 모든 수준에서 개체 키의 순서를 지정합니다. 하단의 줄은 모든 변경 사항을 확인하고 오류의 정확한 줄과 열의 이름을 지정합니다. JSON은 편집 가능한 트리로 열립니다. 키나 값을 두 번 클릭하여 변경하고 행을 추가, 드래그 또는 삭제하고 편집을 취소할 수 있습니다. 찾기 표시줄은 키와 값을 검색하고 선택한 행 옆에 복사 아이콘이 나타납니다. 비교는 두 개의 JSON 문서를 나란히 표시하고 모든 차이점을 나열합니다. 파일을 저장하거나 복사본을 저장하거나 결과를 복사합니다. 모든 것이 브라우저에서 실행됩니다. 아무것도 업로드되지 않았습니다.

귀하의 개인 정보

무료이며 가입이 필요하지 않습니다. 파일 처리는 귀하의 장치에 유지됩니다. 웹사이트 분석과 광고에는 별도의 개인 정보 보호 선택권이 있습니다.