whizzyW
Convex Community8mo ago
2 replies
whizzy

Proposal: Custom or More Readable IDs in Convex

Convex currently generates IDs like
j570wphp56eeynea2scn7gefvn7hy38p
using v.id('users'). They work, but they’re not very readable or ideal for use in URLs.

In a previous setup with Drizzle, I used custom IDs like
user_${nanoid(12)}
— readable, unique, and safe for URLs.

What I’m asking for:
Option to provide our own _id on insert
Or support for customizable ID format (e.g. prefix + nanoid-style string, at least 11–12 chars for collision safety)

Why this matters:

Cleaner URLs:
/user/user_x7s8kl29hjada


Easier debugging and logging

More structured and predictable IDs for external integration

Would be nice to not have to manage an extra field just for a public-facing ID.
Was this page helpful?