BSON 변환기

MongoDB BSON과 Extended JSON 변환

ObjectId 도구

BSON이란?

  • MongoDB에서 사용하는 바이너리 JSON 형식
  • Extended JSON은 BSON을 텍스트로 표현
  • ObjectId는 12바이트 고유 식별자
  • Date, Binary 등 추가 데이터 타입 지원

BSON & MongoDB Extended JSON Guide

What is BSON?

BSON (Binary JSON) is a binary-encoded serialization of JSON-like documents. MongoDB uses BSON as its primary data storage and network transfer format. BSON supports additional data types not available in standard JSON.

Extended JSON Format

MongoDB Extended JSON is a string format for representing BSON documents. It allows you to work with BSON types in a human-readable JSON format:

ObjectId: {"$oid": "507f1f77bcf86cd799439011"}
Date: {"$date": "2024-01-01T00:00:00Z"}
Long: {"$numberLong": "9223372036854775807"}
Binary: {"$binary": {"base64": "...", "subType": "00"}}

ObjectId Structure

A MongoDB ObjectId is a 12-byte identifier consisting of:

TTTTTTTTMMMMMMPPPPCCCCCC
T (8 chars): Unix timestamp
M (6 chars): Machine identifier
P (4 chars): Process ID
C (6 chars): Counter

Related Tools

Developer Tools

개발자를 위한 80가지 이상의 무료 온라인 도구를 제공합니다. Base64, JSON, JWT, 정규식 등 필수 개발 도구를 한 곳에서.

Developer Tools © 2025. All rights reserved.

대부분의 도구는 브라우저에서 동작하며, 네트워크가 필요한 도구만 실행 시에 데이터가 전송됩니다.

BSON/MongoDB Extended JSON Converter | Developer Tools