Dec 22, 2025
Noviantika G.
3min Read
Learning how to upload a document to a website is important, especially when you want to offer exclusive content and downloadable files.
In this article, we will explain how to upload documents to a web page using Hostinger’s File Manager or WordPress.
Download all in one WordPress cheat sheet
When building your site, you may need to upload files to share with your audience, such as exclusive eBooks, forms, and cheat sheets.
If the files are smaller than 100 GB, you can add them to the site using the file manager in hPanel. This feature accepts several file types, including Microsoft Word documents, Microsoft Excel sheets, and JPEG images. Additionally, it supports compressed archives, such as .zip, .tar, and .tar.gz.
Here’s how to upload files using it:


While WordPress accepts several file types, the preferred file format is PDF. That’s because users can view the content without having to download the document.
There are two different methods to add files in WordPress – by editing a page or post or transferring it directly to the Media Library. Depending on your WordPress hosting provider, the maximum file size ranges from 5 MB to 500 MB.

Follow these instructions to upload a PDF file from your computer to a WordPress page or post:



Here are the steps to add documents to your WordPress Media Library:




There are two common ways to upload documents to a post or page – using Hostinger’s File Manager or WordPress options.
With the first method, you can upload files directly from your web hosting account. The second requires you to open the WordPress dashboard and use the File block or the Media Library.
We hope this article has helped you learn all about uploading documents to a website. If you have any questions or suggestions, leave them in the comments section below.
How to Make a Website
How to Upload Your Website
How to Make a Small Business Website
How to Build a Website With ChatGPT
All of the tutorial content on this website is subject to Hostinger's rigorous editorial standards and values.
Comments
July 19 2024
Hello, sorry for the inconvenience, I could upload the files to Hostinger's file manager using a script, and have it return the url to store it in the database of my website. Would there be a problem or do I need any authorization?
July 24 2024
Hi Edgar! For files larger than 100GB or on Web Premium plans and above, consider using FTP or SSH for easier automation. Follow the instructions for your chosen method to upload correctly. Also, if your site has a database, manage uploads separately via phpMyAdmin or SSH based on your database size :)