Last updated
Instagram Shortcode Decoder
Decode Instagram shortcodes to reveal media IDs, creation dates, and timestamps. Every Instagram post and reel has a shortcode that contains encoded information about when it was created.
How to Get Instagram Shortcodes
Method 1: From Post URLs
instagram.com/p/CxOWiQNphlr/
The shortcode is between /p/ and the trailing slash.
Method 2: From Reel URLs
instagram.com/reel/CxOWiQNphlr/
Reels use the same shortcode format.
Method 3: Paste Full URL
You can paste the entire Instagram URL and the decoder will extract the shortcode automatically.
Key Facts
- Instagram Base64 alphabet: A-Z (0-25), a-z (26-51), 0-9 (52-61), - (62), _ (63)
- Instagram epoch: January 1, 2011 (Unix: 1293840000 seconds)
- Timestamp extracted by right-shifting media ID by 23 bits
- Works for posts (/p/), reels (/reel/), and IGTV (/tv/)
- No API access required — all information is encoded in the shortcode
- Always use BigInt in JavaScript to avoid precision loss
Paste any Instagram shortcode or post URL to instantly decode the numeric ID and creation timestamp.
What You Can Decode
- Posts: Regular Instagram photo and video posts
- Reels: Instagram Reels shortcodes
- IGTV: IGTV video shortcodes
- Carousel: Multi-image post shortcodes
Shortcode Format
Character Set: A-Z, a-z, 0-9, - (dash), _ (underscore)
Length: Typically 11 characters
Encoding: Base64 variant (URL-safe)
Case Sensitive: Yes - 'A' and 'a' are different
Example: CxOWiQNphlr, B_zcOWqAQW5, CKr6qN2FQWX
Use Cases
Content Analysis
Track when posts were created for trend analysis
Bot Development
Convert shortcodes to IDs for Instagram API
Research
Study Instagram content timelines and patterns
Marketing
Analyze competitor posting schedules
Frequently Asked Questions
Q: Can I decode deleted posts?
A: Yes, as long as you have the shortcode, you can decode it even if the post is deleted.
Q: Do reels have different shortcodes?
A: No, Instagram reels use the same shortcode format as regular posts.
Q: Is the timestamp accurate?
A: Yes, Instagram shortcodes contain the exact creation timestamp, accurate to the millisecond.
Q: Is this tool free?
A: Yes, completely free with no signup required. All processing happens in your browser.