Eight character random ids JS Math.round(Math.random()*(36**8)).toString(36) Ruby rand(36**8).to_s(36) Jekyll/Liquid {{ 'abcdefghijklmnopqrstuvwxyz1234567890' | split: '' | sample: 8 }}