WorkspaceDatabase ToolsClient-Side Sandbox

MongoDB ObjectId Generator

Generate valid 24-character hex BSON ObjectIds (4-byte unix timestamp + 5-byte random process value + 3-byte incrementing counter).

Input Buffer
1 ln · 9 ch · 9 B
ENCODING: UTF-8AUTO-RUN: ENABLED
Output Buffer
OUT: 1 LN · 0 B⌘↵ RUN · ⌘⇧C COPY

How to Use MongoDB ObjectId Generator

  1. Specify how many BSON ObjectIds to generate.
  2. Each ObjectId embeds the current 32-bit Unix epoch seconds in its first 8 hex characters.

Keyboard Shortcuts & Sandbox Guarantee

Run / Process tool outputCtrl + Enter
Copy primary output to clipboardCtrl + Shift + C
Open global command paletteCtrl + K