The soonest time to peel hard boiled eggs is after they have sat in cold or ice water for ten minutes. Give them at least this long, to prevent overcooking and make the peeling process easier. However, don’t leave them in the water for too long without refrigeration, because bacteria can grow.
If possible, do not peel hard boiled eggs until you are ready to use them. The shell will protect them and they will last longer. But, if you still prefer to peel your eggs all at once, you can.