Algorithm · Instagram posts and reels
Fair Instagram Giveaway Algorithm
What rafflecopter.app does between "draw" and the winner reveal, step by step, and what the published proof lets your audience check.
1. The pool
You paste the URL of a public Instagram post or reel. The tool loads the commenters available for your tier (free for posts with up to 200 comments), applies your filters and removes winners of earlier draws on the same post.
2. Seed and pick
The browser generates a random seed with the Web Crypto API. The pool is sorted by lowercased username so the order does not depend on how the comments were loaded, then joined with the seed and hashed with SHA-256. The first 32 bits of the hash, modulo the pool size, pick the winner.
sorted = sort(pool, by lowercase) h = SHA256(join(sorted, "|") + "|" + seed + ":" + i) winner = sorted[ int(h[0:8], 16) % len(sorted) ]
For several winners the position i changes for each pick and the previous winner is removed first, so nobody wins twice in the same draw. The winners are fixed before the animation starts; the animation only reveals them.
3. The proof
The pool, the seed and the winners are hashed together with SHA-256 and saved on a public proof page with the seed, the hash, the winners and a participant count. Anyone with the link can see them.
Limits: the proof covers the pick from the loaded pool, not necessarily every comment on a large post. The comment picker works with Instagram only, and there is no CSV export.
Try it
Free for Instagram posts with up to 200 comments (you paste the names).