使用方法: MongoDB ObjectId 解码器

MongoDB ObjectId 解码器 是一款免费在线开发者工具工具,可在浏览器中即时extract the creation timestamp, random bytes and counter from a 24-character ObjectId。粘贴数据、调整选项即可实时获得结果——无需安装、无需注册,任何数据都不会上传到服务器。

立即使用 MongoDB ObjectId 解码器 →

说明

Extract the creation timestamp, random bytes and counter from a 24-character ObjectId.

  • 开发者工具
  • 由于全部计算都在客户端完成,使用 API 密钥、令牌或私有日志等敏感数据处理时,MongoDB ObjectId 解码器 同样安全。
输入 MongoDB ObjectId 解码器 输出 100% 在浏览器内运行——数据不会离开您的设备。
MongoDB ObjectId 解码器 — 输入 → 输出

使用方法

使用 MongoDB ObjectId 解码器 只需三步:

  1. 将数据粘贴到输入框(或载入示例)。
  2. 根据目标格式或使用场景调整选项。
  3. 复制、下载或查看输出——输入时结果实时更新。
使用方法 · MongoDB ObjectId 解码器 1 将数据粘贴到输入框(或载入示例)。 2 根据目标格式或使用场景调整选项。 3 复制、下载或查看输出——输入时结果实时更新。
使用方法

运行

示例

The first four bytes are a Unix timestamp, which is why ObjectIds sort roughly by creation time.

输入

507f1f77bcf86cd799439011

输出

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                   5078.7 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.

此输出由工具真实运行产生,并非人工编写。

使用场景

MongoDB ObjectId 解码器 常见的使用场景:

  • Extract the creation timestamp, random bytes and counter from a 24-character ObjectId.

参数说明

此工具没有可配置参数,直接对输入内容生效。

常见问题

什么是 MongoDB ObjectId Decoder?

MongoDB ObjectId Decoder 用于extract the creation timestamp, random bytes and counter from a 24-character ObjectId。它完全在浏览器内运行,数据保持私密。

MongoDB ObjectId Decoder 可以免费使用吗?

可以。MongoDB ObjectId Decoder 免费、无次数限制,无需注册或安装。

我的数据会被上传吗?

不会。所有处理都在本地浏览器完成,不会发送到任何服务器。

注意事项

  • 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。

相关工具

MongoDB ObjectId 解码器 → · 开发者工具 →

立即使用 MongoDB ObjectId 解码器 →