# Snowflake / Discord ID Bit Decoder

Decode 64-bit Snowflake-style IDs for Discord, Twitter, Mastodon, Sonyflake, Instagram, or a custom bit profile. Extract timestamp, worker/process/machine, sequence fields, align platform epochs, and infer a Discord shard when a shard count is supplied.

> Canonical page: https://elysiatools.com/en/tools/snowflake-discord-id-bit-decoder

- **Category:** Development

- **Keywords:** snowflake, discord, id decoder, bit fields, twitter snowflake, sonyflake, mastodon, instagram id, shard, bigint

## Overview

Snowflake / Discord ID Bit Decoder analyzes 64-bit Snowflake-style IDs for Discord, Twitter, Mastodon, Sonyflake, Instagram, or a custom bit profile. It extracts timestamp and identifier fields, applies the selected epoch, and can infer a Discord shard when a shard count is provided.

## Inputs

- **Snowflake ID** (text): e.g. 109580041603153152
- **平台** (select)
- **Discord 分片数（可选）** (number): e.g. 8
- **自定义 Epoch（ISO 日期或 Unix 毫秒）** (text): e.g. 2015-01-01T00:00:00Z
- **自定义时间戳单位** (select)
- **自定义字段 JSON（低位在前）** (textarea): \[{"name":"sequence","bits":12},{"name":"worker","bits":5},{"name":"timestamp","bits":47}\]

## When to use

- Inspect the creation time and bit fields inside a Discord or other Snowflake-style ID.
- Compare IDs from platforms that use different epochs or field layouts.
- Analyze a private Snowflake deployment with a custom epoch and low-bit-first field definition.

## How it works

- Enter the 64-bit Snowflake ID in the required input.
- Select Discord, Twitter, Mastodon, Sonyflake, Instagram, or Custom as the platform profile.
- Optionally provide a Discord shard count or configure a custom epoch and timestamp unit.
- For a custom layout, enter a JSON field list ordered from the least significant bits first, then review the decoded HTML result.

## Use cases

- Discord bot development teams can inspect ID timestamps and estimate shard assignment.
- Backend engineers can verify worker, process, machine, and sequence fields in distributed identifiers.
- Developers maintaining private Snowflake deployments can test custom bit layouts against a selected epoch.

## Frequently asked questions

### Which ID formats does the decoder support?

It supports Discord, Twitter, Mastodon, Sonyflake, Instagram, and custom Snowflake-style bit profiles.

### Can it decode large 64-bit IDs without losing precision?

Yes. The tool is designed to parse 64-bit Snowflake-style IDs without precision loss.

### What does the Discord shard count do?

When supplied, the shard count lets the tool infer a Discord shard for the decoded ID.

### How do I define a custom profile?

Select Custom, provide an epoch, choose the timestamp unit, and enter a JSON field list ordered from the least significant bits first.

### Which timestamp units are available for custom profiles?

Custom timestamps can use milliseconds, 10-millisecond units, or seconds.

## Related tools

- [Distributed Trace Decoder & Waterfall Visualizer](https://elysiatools.com/en/tools/distributed-trace-decoder-waterfall-visualizer): Decode Jaeger, Zipkin, or OpenTelemetry trace JSON and render span timing, dependencies, and error hotspots as an interactive waterfall report
- [Structured Log Analyzer](https://elysiatools.com/en/tools/structured-log-analyzer): Detect common log formats, extract core fields, infer field types, and export parsed logs as JSON, CSV, or SQL inserts
- [package.json Dependency Auditor](https://elysiatools.com/en/tools/package-json-dependency-auditor): Audit a package.json for dependency hygiene, version-range quality, and optionally inspect a transitive dependency tree from package-lock.json or yarn.lock. Flags duplicates, wildcard or pre-release specs, unsorted keys, missing metadata, and misclassified runtime/dev dependencies.
- [WebAuthn Passkey Assertion Decoder & Challenge Debugger](https://elysiatools.com/en/tools/webauthn-passkey-assertion-decoder-challenge-debugger): Decode WebAuthn/FIDO2 assertion fields, inspect authenticatorData flags and signCount, check challenge/origin/rpIdHash binding, and optionally verify ES256, RS256, or Ed25519 signatures with a supplied COSE public key.
- [JWK Generator & Parser](https://elysiatools.com/en/tools/jwk-generator): Generate JSON Web Keys (JWK) for RSA, EC (P-256/P-384/P-521/secp256k1), and OKP (Ed25519/Ed448/X25519/X448), or parse an existing JWK to inspect its parameters, thumbprint, and metadata
- [JWT Inspector & Verifier](https://elysiatools.com/en/tools/jwt-inspector-verifier): Decode a JWT (header + payload) with syntax highlighting, diagnose standard claims, and verify the signature with HS*/RS*/PS*/ES*/EdDSA keys — plus a tampered-token forgery demo
- [Bulk Email Extractor](https://elysiatools.com/en/tools/bulk-email-extractor): Extract all email addresses from input text, articles, web source code, or mixed content. Supports deduplication and export to JSON.
- [JSON Key Extractor](https://elysiatools.com/en/tools/json-key-extractor): Extract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.

## Samples

- [Distributed Tracing Samples](https://elysiatools.com/en/samples/distributed-tracing-samples): Comprehensive distributed tracing examples using Jaeger, OpenTelemetry, and other modern observability tools for microservices architecture
- [AWS EventBridge Samples](https://elysiatools.com/en/samples/eventbridge-samples): AWS EventBridge examples including event buses, rules, targets, schema registry, custom events, and cross-account event routing for serverless event-driven architecture
- [JWT Samples](https://elysiatools.com/en/samples/jwt-samples): Comprehensive JWT examples from basic token structure to advanced security implementations
- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10

## Related content

- [JSON Interchange and Format Translation Tools](https://elysiatools.com/en/hubs/json-convert): Compare JSON conversion tools for CSV, YAML, TOML, GraphQL, XML, Markdown, Excel, BSON, EDN, and related structured formats in one hub.
- [JSON Inspection, Diff, and Transformation Tools](https://elysiatools.com/en/hubs/json-utility): Compare JSON formatting, diffing, path inspection, schema validation, merging, transformation, and export tools in one hub for API and data workflows.
- [JSON Schema, Mock Data, and API Fixture Generators](https://elysiatools.com/en/hubs/json-generate): Curated tools for JSON schema generation, mock payload building, and API fixture preparation in one hub.
- [JSON Formatting, Diff, and Normalization Tools](https://elysiatools.com/en/hubs/json-format): Compare JSON formatting, diffing, log review, config comparison, and data-normalization tools in one hub for readable and reviewable JSON workflows.
