Dev
Mock Device ID Generator
Device registration, IoT fleet management, and analytics systems all identify devices by an opaque identifier whose format varies by context. Testing those systems needs sample identifiers that match the expected format — a MAC-style hex string, a lowercase hex token, or a structured serial number — rather than generic strings that will never appear in real data. This tool generates identifiers in three common formats. The format selector switches between mac (colon-separated hex pairs like a2:f4:3c:...), device-token (32 lowercase hex characters, typical of push notification tokens and install IDs), and serial (a structured string like SN-ABCD-012345 with uppercase letters and digits). The count input produces 1 to 12 identifiers. All outputs are randomly generated and correspond to no real device. Paste them into device-registration test fixtures, IoT mock data, or documentation. They follow the correct format for each style, so they exercise your parsing and storage code realistically. For production device identifiers, use your own registration flow — never assign a generated MAC to a device on a shared network, as a collision with a real one would disrupt connectivity.
How to use
- Choose your options above
- Click Generate
- Copy your result
Detailed instructions
- Choose an identifier format.
- Pick how many IDs you want.
- Click Generate to produce device IDs.
- Copy them into your tests or data.
Use Cases
- •Testing device registration flows
- •Building IoT or fleet mock data
- •Seeding a device database
- •Filling sample configuration
- •Generating identifiers for fixtures
Tips
- →Pick the format your system expects.
- →They are safe to share in docs.
- →Generate production IDs in your own runtime.
- →Use a varied batch for testing.
FAQ
what is a MAC address
A MAC address is a hardware identifier assigned to a network interface, written as six pairs of hexadecimal digits separated by colons. It identifies a device on a local network. The ones here are random and match the format without belonging to real hardware.
what are the three identifier formats
MAC produces six colon-separated hexadecimal pairs like a2:f4:3c:5b:1d:e8. Device-token produces 32 lowercase hexadecimal characters, the shape used by push notification tokens and install IDs. Serial produces a structured string like SN-ABCD-012345 with uppercase letters and digits.
can I use these in production
They are intended for testing and mock data. For production device identifiers, generate them from your own trusted source with the uniqueness and format guarantees your system needs, rather than reusing throwaway values from a tool.
You might also like
Popular tools from other categories that share themes with this one.
Try these next
More free tools from other corners of the catalog, picked by shared themes.