shortest encoding for Guid for use in a URL

mcintyre321 picture mcintyre321 · Aug 14, 2009 · Viewed 11.5k times · Source

Mad Kristensen got one down to 00amyWGct0y_ze4lIsj2Mw

Can it go smaller than that?

Answer

retracile picture retracile · Aug 14, 2009

Looks like there are only 73 characters that can be used unescaped in a URL. IF that's the case, you could convert the 128-bit number to base 73, and have a 21 character URL.

IF you can find 85 legal characters, you can get down to a 20 character URL.