We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor File Upload is a component for uploading files, images, documents, and audio and video files to a server. The File Upload works in both WebAssembly and Server-side Blazor apps, and also supports a rich set of features that include multiple file selection, progress bars, auto-uploading, drag and drop, folder (directory) uploading, file validation, and more.


Why choose Syncfusion Blazor File Upload?

Multiple files uploading in Blazor File Upload component.

Multiple-file upload

Select multiple files and upload them to a server at the same time. This is useful for uploading images to a gallery and for file-sharing applications. 

Blazor File Upload drag and drop.

Drag and drop

Upload multiple files by simply dragging them from the file explorer to the drop area (drop zone), which is a more user-friendly way to select and upload multiple files. 

Blazor File Upload folder.

Folder upload

Accepts a folder (directory) as a file source for uploading all the files (including subfolders) of the selected folder.

Blazor File Upload AJAX File Uploader.

AJAX file uploader

Using the AJAX library, the Blazor File Upload component easily uploads files in asynchronous mode. 

Blazor File Upload utilize chunk upload for large files.

Utilize chunk upload for large files

Manage upload of large file uploads efficiently using chunk upload that slices a large file into smaller chunks and uploads to the server in a sequential order asynchronously.

Blazor File Upload create your own template designs.

Create your own template designs

Allows users to create a custom UI in the Blazor File Upload based on their application need using a wide range of template options.

Blazor File Upload attractive customizable themes.

Attractive customizable themes

Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes of File Upload easily.

Blazor File Upload globalization and localization.

Globalization and localization

Enables users from different locales to use the File Upload by formatting dates, currency, and numbering to suit their preferences.


Blazor File Upload Code Example

Easily get started with Blazor File Upload using a few simple lines of C# code, as demonstrated below. Also explore our Blazor File Upload Example that shows you how to render the uploader component.

Edit in Blazor Playground

<SfUploader AutoUpload="false">
<UploaderEvents ValueChange="OnChange"></UploaderEvents>
</SfUploader>

@code {

private void OnChange(UploadChangeEventArgs args)
{
    foreach (var file in args.Files)
    {
        var path = @"path" + file.FileInfo.Name;
        FileStream filestream = new FileStream(path, FileMode.Create, FileAccess.Write);
        file.Stream.WriteTo(filestream);
        filestream.Close();
        file.Stream.Close();
    }
}
}

Resumable upload

A built-in feature to pause, resume, retry, and cancel a file upload. This helps users upload high-resolution images, videos, and other large files safely. Additionally, it provides an option to pause and resume automatically based on server connection.

Blazor File Upload with pause, resume, retry, and cancel.


Blazor File Upload with customized buttons.

Custom file upload button

The action buttons of the Blazor File Upload component are completely customizable, including its file list, which allows users create their own design for the Blazor File Upload UI.


File types (file extensions)

Upload various file types and impose restrictions to allow only valid types of files from the client-side, which is mandatory before uploading a file in the web application.

Blazor File Upload validates file type.


Blazor File Upload control restricts file size.

File validation (filter)

Users can add validation to check file size limits with minimum and maximum ranges, number of files required, total size, and MIME type before uploading a file to a server.


Paste image to upload

The Blazor File Upload component processes images from the clipboard, also. Simply copy and paste the images to be uploaded to a server.

Blazor File Upload process images from clipboard on paste.


Blazor File Upload removes the uploaded files.

Delete uploaded files

Blazor File Upload provides a simple interface to delete wrongly uploaded files from a server.


Preload uploaded files

Users can configure previously uploaded files from the server with a success state, which is useful for viewing, removing, and manipulating them.

Blazor File Upload preload uploaded files.


Blazor File Upload with auto upload.

Auto-upload

Users can initiate an automatic upload to upload files immediately upon adding them to the upload queue.


Right-to-left (RTL)

The Blazor File Upload component supports right-to-left rendering, which improves the user experience and accessibility for those who work with languages like Hebrew, Arabic, or Persian.

Blazor input File Upload with right-to-left mode.


Blazor input File Upload covers web accessibility.

Web accessibility

  • Fully supports WAI-ARIA accessibility, which allows the Blazor File Upload component to be accessed by on-screen readers and assistive devices.

  • Follows the WAI-ARIA Best Practices for implementing keyboard interaction.

  • The UI element visuals, such as foreground color, background color, line spacing, text, and images, were designed based on the WCAG 2.0 standard.

Blazor input File Upload works well in touch devices.

Touch support

The Blazor File Upload component provides the best user experience across phone, tablet, and desktop form factors.


Standard HTML forms

The Blazor File Upload component has form support (synchronous mode) to work with native HTML forms.

Developer-friendly APIs

Developers can control the appearance and behaviors of the Blazor File Upload, including its file list, using a rich set of APIs.





Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark 85+ UI components
tick-mark 960+ interactive Blazor demos
tick-mark 2.2M+ downloads
competitive-banner-FT-image

Other supported frameworks

File Upload is also available in React, Angular, JavaScript, and Vue frameworks that are built from their own TypeScript libraries. Check out the different File Upload platforms from the links below,

Supported browsers

The Blazor File Upload works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers of Blazor File Upload.

Blazor Components – 85+ UI and DataViz Components

Frequently Asked Questions

  • Extended version of the HTML5 file upload with a progress bar and flexible UI file list.
  • Blazor multiple-file upload with form support, drag and drop, progress bar, folder upload, and more.
  • Large file upload with pause, resume, retry, and cancel options using chunking.
  • File save and remove actions can be handled with and without server-side API endpoint (Services).
  • One of the best Blazor File Upload in the market that offers feature-rich UI to interact with the software.
  • Completely customizable using templates.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Extensive demos and documentation to learn quickly and get started with Blazor File Upload.

We do not sell the Blazor File Upload separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the Blazor File Upload. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our Blazor File Upload demo, which demonstrates how to render and configure the File Upload.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our Blazor File Upload, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their File Upload component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon