Free Stock Photo Resources for Developers
Finding legally safe, high-quality images for web projects isn’t as straightforward as it looks. Licenses vary, platforms change their terms, and what’s “free” doesn’t always mean unrestricted. This guide covers the most reliable free stock photo resources for developers, what their licenses actually allow, and what to watch out for before dropping an image into a production project.
Key Takeaways
- Hosted libraries (Unsplash, Pexels, Pixabay, Burst) apply a single license across their collection, while aggregators (Openverse, Wikimedia Commons) require per-image license checks.
- Most major platforms no longer rely primarily on CC0. Unsplash, Pexels, and Pixabay each use custom licenses that prohibit redistribution as competing products.
- Even with a permissive license, photos of identifiable people may require model releases for commercial use.
- Always document your image sources and the license version that applied at the time of download, since terms can change.
Hosted Libraries vs. Aggregators: Know the Difference
Before picking a platform, understand what type of source you’re using.
Hosted libraries (Unsplash, Pexels, Pixabay, Burst) maintain their own curated collections under a defined license. You know upfront what rules apply to every image on the platform.
Aggregators (Openverse, Wikimedia Commons) index images from multiple sources, each carrying its own license. There is no single license that covers everything. You must check each asset individually.
This distinction matters practically: using an aggregator without reading per-image license details is a common source of compliance mistakes in web projects.
Platform-by-Platform Breakdown
Unsplash
Unsplash uses the Unsplash License, not CC0. Images are free for commercial use without attribution, but you cannot use them to build a competing stock photo product or service. Attribution is not required but is strongly recommended as good practice. The Unsplash API is available for programmatic access. Production use requires registration and comes with rate limits. Hotlinking directly from the API in production is subject to their terms—review them before integrating.
Pexels
Pexels operates under the Pexels License, which permits free commercial use without mandatory attribution. However, images cannot be used in trademarks, logos, or in ways that imply endorsement. The Pexels API requires a free API key and enforces rate limits. Attribution is not legally required but is recommended by the platform.
Pixabay
Pixabay no longer operates under CC0. It now uses the Pixabay License, which permits free commercial use without attribution but explicitly prohibits redistribution of images as standalone files or as part of a competing image library. If you’re building an app that redistributes or resells images, Pixabay content is off-limits. The Pixabay API requires a key and has rate limits. Do not describe Pixabay images as CC0 in your project documentation—the license changed and the distinction has legal weight.
Openverse
Openverse is an open search engine in the WordPress ecosystem that indexes hundreds of millions of images from sources including Flickr and Wikimedia. Licenses vary per image—you’ll find CC0, CC BY, CC BY-SA, CC BY-NC, and others in the same search results. Always check the license badge on each asset. The Openverse API is publicly accessible and useful for building search tools, but your application must surface per-image license information to end users.
Wikimedia Commons
Wikimedia Commons hosts freely licensed media, but again, no single license applies. Some images are CC0, others require attribution, and some have share-alike requirements. For commercial frontend projects, filter explicitly for CC0 or CC BY and read the individual license before use. The Wikimedia API is available for programmatic access, though it is more general-purpose and less developer-focused than APIs from platforms like Unsplash or Pexels.
Burst by Shopify
Burst offers high-resolution photos under a Shopify/Burst license, which allows free commercial and non-commercial use without attribution but prohibits selling the images or redistributing them as part of a competing service. The library skews toward e-commerce and lifestyle content, making it particularly useful for product-focused web projects. No API is available, but images are free to download and use in production within these terms.
Discover how at OpenReplay.com.
Practical Guidance for Developers
A few rules that apply across all these platforms:
- Identifiable people: Even with a permissive license, photos showing recognizable individuals may require a model release for commercial use. Major platforms provide guidance, but additional permissions may still be required depending on context.
- Attribution: When a license requires it (CC BY, CC BY-SA), implement it visibly in your UI. A small caption or footer credit is sufficient and keeps you compliant.
- Redistribution: No platform listed here permits you to repackage and redistribute their images as a standalone collection or competing product.
- Document your sources: Keep a record of where each image came from and which license version applied at the time of download. License terms can change.
Quick Reference
| Platform | License Type | Attribution Required | API Available | Notes |
|---|---|---|---|---|
| Unsplash | Unsplash License | No (recommended) | Yes | No competing services |
| Pexels | Pexels License | No (recommended) | Yes | No trademarks/logos |
| Pixabay | Pixabay License | No | Yes | No redistribution |
| Openverse | Varies per asset | Depends on asset | Yes | Check each image |
| Wikimedia Commons | Varies per asset | Depends on asset | Yes | Filter by license |
| Burst | Burst License | No | No | E-commerce focus |
Conclusion
“Free” in stock photography means free of cost—not free of all conditions. The platforms above are reliable starting points for sourcing images in web projects, but the license attached to each image determines what you can actually do with it. Read it before you ship.
FAQs
Yes. Both the Unsplash License and the Pexels License allow commercial use without mandatory attribution. However, both platforms recommend giving credit to the photographer as good practice. The key restriction is that you cannot use images from either platform to build a competing stock photo service or redistribute them as standalone files.
No. Pixabay switched from CC0 to its own Pixabay License. The new license still allows free commercial use without attribution, but it explicitly prohibits redistributing images as standalone files or as part of a competing image library. If your older documentation references Pixabay as CC0, update it to reflect the current license terms.
Both are aggregators, meaning every image carries its own license. You must check the license badge on each individual asset before using it. Filter search results by license type when possible, and always record the specific license that applied at the time of download. Your application should display per-image attribution when required by the license.
Potentially, yes. A permissive image license covers copyright but does not automatically grant rights related to a persons likeness. For commercial use, especially in advertising or product marketing, you may need a model release. Major platforms like Unsplash and Pexels provide guidance, but you should always verify whether additional permissions are required before using such images commercially.
Truly understand users experience
See every user interaction, feel every frustration and track all hesitations with OpenReplay — the open-source digital experience platform. It can be self-hosted in minutes, giving you complete control over your customer data. . Check our GitHub repo and join the thousands of developers in our community..