Last updated
Instagram Shortcode to Media ID Converter
Convert Instagram shortcodes to numeric media IDs and vice versa. Shortcodes are the alphanumeric codes in Instagram URLs, while media IDs are the numeric identifiers used by Instagram's API.
What are Instagram Shortcodes?
Instagram shortcodes are base64-like encoded strings that appear in post URLs. For example, in instagram.com/p/CXhfQ9OgFjP/, the shortcode is CXhfQ9OgFjP. These shortcodes encode the numeric media ID in a URL-friendly format.
What are Media IDs?
Media IDs are 19-digit numeric identifiers that Instagram uses internally to identify posts, reels, and IGTV videos. These IDs are required for Instagram API calls and contain timestamp information about when the content was created.
How to Use
Shortcode to Media ID:
- Copy the shortcode from an Instagram URL (e.g., CXhfQ9OgFjP)
- Paste it into the converter
- Get the numeric media ID
Media ID to Shortcode:
- Switch to "Media ID → Shortcode" tab
- Enter the 19-digit media ID
- Get the Instagram shortcode
What Is the Instagram Shortcode to Media ID Converter?
The Instagram Shortcode to Media ID Converter at TechConverter.me transforms Instagram post shortcodes into their numeric media IDs, and vice versa. Shortcodes appear in post URLs (like instagram.com/p/CxYz123abcD/) and are URL-friendly. Media IDs are the large integers used by Instagram's API and internal systems. Both identify the same content — this tool converts between the two formats instantly.
An Instagram media ID is a numeric identifier (typically 19 digits) that uniquely identifies posts, reels, and IGTV videos. While URLs use shortcodes, Instagram's API and database use these numeric media IDs internally.
Instagram shortcodes appear in post URLs. For example, in 'instagram.com/p/CXhfQ9OgFjP/', the shortcode is 'CXhfQ9OgFjP'. Copy this code from any Instagram post, reel, or IGTV URL to convert it to a media ID.
Yes! Our tool works bidirectionally. Enter a numeric media ID to convert it back to an Instagram shortcode, or enter a shortcode to get the media ID. Both conversions are instant and accurate.