📸 Instagram Short Codes

Complete guide to Instagram shortcodes

What Are Instagram Short Codes?

Instagram short codes (shortcodes) are the alphanumeric identifiers in Instagram URLs that uniquely identify posts, reels, and IGTV videos.

https://instagram.com/p/CXhfQ9OgFjP/

✅ The highlighted part is the Instagram shortcode

Where to Find Instagram Shortcodes

📷 Regular Posts

instagram.com/p/SHORTCODE/

🎬 Reels

instagram.com/reel/SHORTCODE/

📺 IGTV Videos

instagram.com/tv/SHORTCODE/

Shortcode Format

Instagram shortcodes have specific characteristics:

  • Length: Typically 11 characters
  • Characters: Letters (A-Z, a-z), numbers (0-9), underscore (_), hyphen (-)
  • Case-sensitive: CXhfQ9OgFjP ≠ cxhfq9ogfjp
  • Unique: Each shortcode identifies exactly one post
  • Permanent: Shortcodes don't change over time

How Instagram Shortcodes Work

Instagram shortcodes are base64url encoded representations of numeric media IDs. They convert long 19-digit numbers into shorter, URL-friendly 11-character strings.

Shortcode vs Media ID

Shortcode

11 characters

CXhfQ9OgFjP

Used in URLs

Media ID

19 digits

2722326650967095055

Used in API

Why Instagram Uses Shortcodes

What Information Do Shortcodes Contain?

Instagram shortcodes encode the media ID, which contains:

How to Get Instagram Shortcodes

Method 1: From Browser

  1. Open the Instagram post in your browser
  2. Look at the URL in the address bar
  3. Copy the code after /p/, /reel/, or /tv/

Method 2: From Mobile App

  1. Open the post in the Instagram app
  2. Tap the three dots (•••) menu
  3. Select "Copy Link"
  4. Paste to see the URL with the shortcode

Common Use Cases

Shortcode Conversion

You can convert between Instagram shortcodes and numeric media IDs:

Technical Details

Encoding: Base64url (URL-safe Base64)

Character set: A-Z, a-z, 0-9, -, _

Length: 11 characters (typically)

Format: No padding (= characters removed)

🔗 Related Snowflake ID Tools

🐦 Twitter Snowflake Decoder 💬 Discord Snowflake Decoder 📸 Instagram Snowflake Decoder

📚 Learn More About Snowflake IDs

How to Decode Tutorial Real ID Examples Snowflake Calculator ID to Timestamp