# CarrierWave

> Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks

Source: https://talira.ai/catalog/carrierwave-9wx59p5e
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / file uploads](https://talira.ai/categories/libraries/file-uploads), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Platforms: linux, macos, windows
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source under the MIT licence.
- Free tier: yes[^2]
- Self-hostable: no
- Backed by: [CarrierWave](https://talira.ai/orgs/carrierwaveuploader.md)

CarrierWave is a Ruby gem for handling file uploads in Rack-based apps such as [Ruby on Rails](https://talira.ai/catalog/ruby-on-rails-xkdcpj5k.md) and Sinatra. You generate an uploader class, mount it on an ActiveRecord model column, and the uploader decides where files are stored, how they're named, which types are allowed and which processed versions, such as thumbnails, to create with MiniMagick, RMagick or Vips. Files can live on the local filesystem or, through Fog, on Amazon S3, Google Cloud Storage or Rackspace, and uploads survive form redisplays and can be fetched from remote URLs. Separate gems add Mongoid, Sequel and DataMapper support. It is MIT licensed and has been maintained since 2008.

## Links

- GitHub: https://github.com/carrierwaveuploader/carrierwave
- Docs: https://rubydoc.info/gems/carrierwave

## Problems it solves

- handle file and image uploads in my Rails app
- generate thumbnails of uploaded images in Ruby
- store Rails uploads on Amazon S3 or Google Cloud Storage
- keep an uploaded file when a form fails validation and is shown again
- migrate a Rails app off Paperclip

## Features

- uploader classes mounted on ActiveRecord models, with single and multiple file uploads
- processed versions, including conditional and nested versions, with MiniMagick, RMagick or Vips
- local file storage or cloud storage through Fog: Amazon S3, Google Cloud Storage and Rackspace
- extension and content type allowlists and denylists for securing uploads
- uploads kept across form redisplays and downloads from remote URLs with retries
- default URLs, recreating versions, I18n and test helpers
- Mongoid, Sequel and DataMapper support in separate gems
- migration guide from Paperclip

## Limitations

- Only the latest release line gets fixes; CarrierWave 3.1 supports Rails 6.0 to 8.0 and Ruby 2.5 or later, and 4.0 (in release candidate) Rails 7.0 to 8.1[^1]

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- has a company behind it

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Shrine](https://talira.ai/catalog/shrine-178m6tsb.md): File Attachment toolkit for Ruby applications
- [Paperclip](https://talira.ai/catalog/paperclip-spqbrsep.md): The app people use to manage AI agents for work

## Sources

[^1]: https://github.com/carrierwaveuploader/carrierwave#supported-ruby-and-rails-versions (checked 22 Nov 2026)
[^2]: https://github.com/carrierwaveuploader/carrierwave#license (checked 22 Nov 2026)
