XML → JSON

Web MCP 준비됨
XML 입력
0 글자
JSON 출력
0 글자
출력 모드:
형식:

단순 키-값 형식: XML 요소를 JSON 키-값 쌍으로 직접 변환하여 속성과 특수 XML 메타데이터는 무시합니다. 단순한 데이터 추출에 적합합니다.

사용 방법

  1. 1왼쪽 입력 영역에 XML 코드를 붙여넣거나 입력하세요
  2. 2입력하는 동안 변환이 자동으로 수행됩니다
  3. 3출력 모드 선택: 깔끔한 키-값 쌍은 단순 KV, XML 전체 정보 보존은 전체 구조
  4. 4선호하는 JSON 서식(예쁘게, 압축, 한 줄) 선택
  5. 5결과를 클립보드에 복사하거나 JSON 파일로 다운로드

기능

실시간 미리보기로 즉시 변환
두 가지 출력 모드: 단순 KV와 전체 구조
단순 모드는 @ 또는 # 접두사 없이 깔끔한 키-값 JSON 출력
전체 모드는 XML 속성과 텍스트 콘텐츠 보존
다양한 사용 시나리오를 위한 여러 서식 옵션
클립보드에 원클릭 복사
JSON 파일로 다운로드
반복 XML 요소를 배열로 자동 처리
Files never uploadedProcessed in your browserCleared instantly when you leave

XML to JSON Converter FAQ

Answers to the most common questions about using this converter.

What is the difference between Simple KV and Full Structure?

Simple KV converts XML elements directly to key-value pairs, ignoring attributes. Full Structure preserves attributes, CDATA, and all XML semantics for lossless conversion.

Is my XML data uploaded to a server?

No. The conversion happens entirely in your browser. Your XML never leaves your device.

Does the converter support XML attributes?

Yes, in Full Structure mode all attributes are preserved and mapped to JSON fields.

What is the difference between Simple KV and Full Structure?

Simple KV mode keeps only element text content as key-value pairs, which is compact and ideal for flat XML. Full Structure mode preserves all attributes, namespaces, and nesting, giving you a lossless JSON representation.

Can I convert XML with namespaces?

Yes. In Full Structure mode, namespace prefixes and attributes are preserved in the JSON output so you can round-trip XML data without losing information.

Your data stays yours

Unlike most online converters, ConvTop runs all processing locally in your browser.

100% Local Processing
Every conversion runs in your browser
Zero Uploads
Files never leave your device
Auto-Cleared
Data is gone the moment you leave
Completely Free
No sign-up, no limits, no watermark