What is the maximum file size Salesforce allows per record?

Salesforce allows a maximum file size of 2 GB per file when uploading through Salesforce Files (the modern file storage system). This applies to files attached directly to records via the Files related list. However, the older Attachments feature has a much lower cap of 25 MB per file, so the limit you hit depends on which method your team uses. Below, we unpack every related question about Salesforce file size limits so you know exactly what to expect.

What happens when a file exceeds Salesforce’s size limit?

When a file exceeds Salesforce’s size limit, the upload fails and Salesforce displays an error message. The file is not partially saved, no data is written to the record, and the user must either compress the file, split it, or use an external storage solution before trying again. The experience varies slightly depending on whether you are using the UI or the API.

In practice, this means your team hits a hard wall. There is no graceful fallback where Salesforce stores part of the file or queues it for later. The upload simply stops, which can be frustrating in fast-moving environments where people are uploading contracts, media assets, or project files under deadline pressure. The only immediate workarounds are reducing the file size or changing the upload method entirely.

Does the file size limit differ between Salesforce Files and Attachments?

Yes, the file size limit differs significantly between the two. Salesforce Files supports uploads up to 2 GB per file, while the older Attachments feature caps out at 25 MB per file. Salesforce has been phasing out Attachments in favor of Files for years, and this size difference is one of the clearest reasons to make that switch if your org has not already done so.

If your team is still relying on Attachments, you are working with a limit that was set in an era when file sizes were much smaller. Modern contracts, design files, video assets, and detailed project documentation routinely exceed 25 MB. Migrating to Salesforce Files is not just a best practice recommendation, it is a practical necessity for document-intensive teams in 2026.

How does the API file size limit compare to the UI limit?

The Salesforce REST API and SOAP API support file uploads up to 2 GB, which matches the UI limit for Salesforce Files. However, there is an important practical difference: large API uploads require chunked uploads, where the file is broken into smaller segments and sent in pieces. Uploading a file larger than roughly 50 MB in a single API call is not recommended and can result in timeouts.

For teams building integrations or automating bulk file uploads, this means your integration layer needs to handle chunking logic. Direct single-call uploads work fine for smaller files, but anything substantial requires a more deliberate approach. If you are managing a bulk file upload process through automation, building chunking into your workflow from the start saves a lot of troubleshooting later.

Hi, how are you doing?
Can I ask you something?
Hi there! 👋 I see you're exploring Salesforce file size limits — a challenge many Operations and Project Managers in document-heavy teams run into constantly. You're not alone! Which best describes your current situation?
Got it — that's exactly the kind of friction Cartularius was built to eliminate. To make sure we connect you with the right information, which best describes your team's setup?
Perfect — based on what you've shared, it sounds like your team could benefit from a structured document management layer built right inside Salesforce. Cartularius helps teams like yours eliminate storage headaches, organize files instantly, and work faster — all without leaving Salesforce. Let's connect you with someone who can walk you through exactly how it fits your setup. What's the best way to reach you?
You're all set! 🎉 Your information has been received and our team will review your request. Someone will reach out to explore how Cartularius can help your team get control of documents, eliminate storage friction, and work more efficiently inside Salesforce. Thank you for your interest!
In the meantime, feel free to explore our features and pricing at cartularius.com to get a head start.

What types of files count toward Salesforce storage limits?

Salesforce counts all files stored in Salesforce Files, Attachments, Documents, and Chatter Files toward your org’s file storage limit. This is separate from data storage, which tracks records like contacts, accounts, and opportunities. File storage is measured in total gigabytes allocated to your org, and every uploaded file, regardless of type, draws from that pool.

Here is a breakdown of what contributes to file storage usage:

  • Salesforce Files: All files uploaded via the Files related list on any record
  • Attachments: Legacy files attached to records through the Notes and Attachments component
  • Documents: Files stored in the Documents tab, often used for email templates and logos
  • Chatter Files: Files shared in Chatter feeds and posts
  • Content Deliveries: Published content versions that have been shared externally

Profile photos and certain system-generated files do not count toward file storage, but everything your team actively uploads does. Keeping an eye on storage consumption is especially important for organizations that handle high volumes of transactional documents or media assets.

Why do large files slow down Salesforce record performance?

Large files slow down Salesforce record performance because every time a user opens a record, Salesforce loads the associated Files related list, including metadata and previews for attached files. The more files attached to a record, and the larger those files are, the more data Salesforce needs to fetch and render. This creates noticeable lag, especially on records with dozens of attachments.

The performance hit is compounded when users are on slower connections or accessing Salesforce through mobile devices. For operations teams managing high-volume records, like real estate deals with multiple contract versions or retail accounts with stacks of purchase orders, this slowdown adds up quickly across the working day. Keeping records clean and well-organized is not just about tidiness, it directly affects how fast your team can work.

How can teams manage files that exceed Salesforce’s size limits?

Teams can manage oversized files by using one of three approaches: compressing the file before upload, splitting it into smaller parts, or storing it in an external system and linking it to the Salesforce record. Each approach has trade-offs depending on the file type and how frequently the file needs to be accessed.

Here is a practical decision guide based on common scenarios:

  1. Compress the file: Works well for documents, spreadsheets, and image collections. Use ZIP or PDF compression to bring files under the 2 GB threshold before uploading.
  2. Split large files: Useful for video content or large data exports. Break the file into logical segments and upload each one separately with clear naming conventions.
  3. Use external storage with a Salesforce link: Best for very large media assets or archive files. Store the file in a connected cloud service and reference it from the Salesforce record to keep the record lightweight.
  4. Review your upload method: If you are using the Attachments feature and hitting the 25 MB cap, switching to Salesforce Files immediately raises your limit to 2 GB with no other changes required.

What’s the best way to organize large volumes of files in Salesforce?

The best way to organize large volumes of files in Salesforce is to establish a consistent folder and naming structure, enforce it through automation, and regularly audit for duplicates and outdated files. Without a deliberate system, file storage becomes cluttered fast, and retrieval efficiency drops just as quickly. A structured approach to document value management turns your file library from a dumping ground into a searchable asset.

Practical habits that make a real difference include tagging files with record type and date at upload, archiving completed project files rather than deleting them, and setting up automated rules that route incoming files to the correct location based on record type or team. The goal is to make sure anyone on your team can find what they need in seconds, not minutes.

How Cartularius helps with Salesforce file size and organization

Managing file size limits, avoiding storage bloat, and keeping documents organized across a fast-moving team is genuinely hard to do inside standard Salesforce. That is exactly the problem we built Cartularius to solve.

Cartularius is a native Salesforce app that gives your team a structured, intuitive document management layer right inside the platform. Here is what that looks like in practice:

  • Drag and drop upload: Upload files directly to Salesforce records without navigating clunky menus, making it faster to get files where they belong
  • Organized folder structures: Apply consistent folder hierarchies across record types so files are always easy to find, even when volumes are high
  • Duplicate prevention: Automated checks flag duplicate files before they consume storage and create confusion
  • Familiar interface: The experience mirrors tools your team already knows, which means fast adoption and minimal training
  • Bulk file upload support: Handle large volumes of files efficiently without switching platforms or building workarounds

If your team is dealing with scattered files, slow record performance, or constant storage headaches, we can help. Explore our pricing and see how Cartularius fits into your Salesforce environment today.

Table Of Contents

Share this post

Enjoy a 30-day trial and transform your workflow today

Install Cartularius now and experience the best Salesforce document management solution and enjoy clean and structured data and optimized processes, risk-free for 30 days.

Discover the power of Cartularius in a personalized demo. Our experts will showcase live examples tailored to your business. Get your questions answered and see how our solution streamlines collaboration and accelerates processes. Schedule your demo today and unlock smarter document management.

Get the list

Please provide us with your Name, Job Title and Email Address and you will receive the complete predefined list of Document Categories and Document Types in your inbox.

Get Quote (Enterprises)

Please provide us with as much relevant detail on your needs as possible at this stage in the form below. We understand your business is unique and we would very much like to get you the best offer possible. Thank you!

Get Quote (Non-Profit)

Please provide us with as much relevant detail on your needs as possible at this stage in the form below. We understand your business is unique and we would very much like to get you the best offer possible. Thank you!