P

aztag - The greatest tagging scheme ever

date: 2026-11-25
author: Peterino

As far as I know- this thing doesn't really have a name and has appeared randomly throughout the internet in multiple forms.

But my friend Matt has recently brought it to my attention and I've been using it basically everywhere I need to number some files.

Since it doesn't seem to have a name I will officially propose this as a format for your consideration.

Introducing the aztag format - this is the entire spec:

[letter(a to z)][number] where 'number' is an integer with the 
number of digits described by the letter's distance from a.

eg.

  • a1-a9 are valid tags (a1, a2, a7)
  • b10-b99 are valid tags (b10, b58, b77)
  • d1000-9999 are valid (d1020, d1234, d9985)

This allows your tags to be lexographically sorted in incrementing counts trivially, (eg. 1001 comes after 999), it serializes beautifully to disk as the [leading letter] - 'a' tells you how many digits there are in the actual number.

← Previous Making little apps on Windows