Sizes from Apple's and Google's screenshot specifications. The stores scale down from the largest size in each group, so the recommended ones are enough for most apps.
Screenshot Studio is a free App Store and Google Play screenshot maker. It needs JavaScript to run.