Decodificador de MongoDB ObjectId: guía de inicio rápido
Todo lo necesario para un primer uso correcto: qué pegar, qué opción importa de verdad y cómo leer el resultado.
Cómo usar
- Abre la herramienta y pega tu entrada en el panel izquierdo.
- Ajusta solo las opciones que tu tarea necesita de verdad; los valores por defecto sirven para la mayoría de los casos.
- Lee el resultado en el panel derecho; se actualiza mientras escribes.
- Usa Copiar para llevarte el resultado o Descargar para guardarlo como archivo.
Ejemplos
The first four bytes are a Unix timestamp, which is why ObjectIds sort roughly by creation time.
Entrada
507f1f77bcf86cd799439011
Salida — Resultados
507f1f77bcf86cd799439011 Layout (12 bytes / 24 hex characters) timestamp 4 bytes 507f1f77 = 1350508407 random 5 bytes bcf86cd799 (process-unique, per the current spec) counter 3 bytes 439011 = 4427793 Creation time (UTC) 2012-10-17T21:13:27.000Z Creation time (local) Wed Oct 17 2012 21:13:27 GMT+0000 (Coordinated Universal Time) Age 5091.9 days Older drivers used 3-byte machine id + 2-byte process id instead of 5 random bytes; both layouts put the timestamp first, which is why ObjectIds sort roughly by time.
Ejecutar
Descripción
Extract the creation timestamp, random bytes and counter from a 24-character ObjectId.
Decodificador de MongoDB ObjectId → · Cómo usar → · Herramientas para desarrolladores →
Herramientas relacionadas
Analizador de Cron expresiónExplain cron syntax and compute the next 10 run times.Buscador de HTTP estado CodeSearch all HTTP status codes with meanings and usage notes.Analizador de User-AgentBreak a User-Agent string into browser, engine and OS.ASCII caracteres tablaInteractive reference of all 128 ASCII codes.Buscador de Unicode caracteresInspect code points, blocks and UTF encodings of any character.Generador de .gitignoreAssemble a .gitignore from curated stack templates.