Guide FTP & File Management

How to free up disk space on your account

Where disk space actually goes on a typical hosting account, and what to clear before assuming you need a bigger plan.

Updated 7 min read Beginner

Before assuming a "disk space full" warning means it is time to upgrade your plan, it is worth spending a few minutes finding out what is actually using the space, since a surprising amount of it is often old backups, logs and duplicate files that nobody needs any more rather than the live site itself.

Check how space is being used

Most control panels show a disk usage breakdown somewhere on the main dashboard, and many file managers can sort a folder listing by size, which is the quickest way to spot a handful of large items rather than checking every folder individually. Start at the top level of the account and work down into whichever folder is largest, rather than guessing.

Check email storage too, not just website files

On many hosting accounts, mailboxes share the same disk space allowance as your website files. A mailbox that has been receiving large attachments for years can use a surprising amount of the total, and is easy to overlook when you are only looking inside public_html.

Where space usually goes on an established site

Common sourceWhat to do about it
Old manual backup archivesDownload a copy elsewhere if you want to keep it, then delete it from the server. Backups do not need to live on the same account they are backing up.
Log files that grow over timeOlder entries are rarely useful once a problem has been resolved — clear logs periodically rather than letting them grow indefinitely.
Unused media — images, video, PDFsUploaded once, forgotten, and never referenced by the live site again. A media library search-in-files check confirms whether something is still used before removing it.
Duplicate uploadsThe same file uploaded more than once under slightly different names, common on sites where several people upload content.
Deleted files still in a trash folderSome file managers count trashed items against your quota until the trash itself is emptied.

Large images are a common, easy win

An image straight out of a modern camera or phone can be several megabytes on its own, and a media library that has accumulated hundreds of these over the years without ever compressing them can account for a surprisingly large share of total usage. Before deleting anything, check whether simply compressing existing images would free up enough space on its own — the visible quality difference is usually minimal, while the file size difference often is not. This is worth doing as routine maintenance even outside a disk space emergency.

Clearing old backups

If you take manual backups and store them on the same hosting account, they are one of the fastest-growing uses of space over time, since each one is close to the size of the entire site. Move anything you want to keep to your own computer or a separate storage service, then delete the copy on the server — a backup only protects you if it exists somewhere other than the account it is a backup of, so this is good practice for safety as well as space.

Clearing logs

Error logs and access logs are genuinely useful while you are actively troubleshooting something, but they serve little purpose once resolved and can grow steadily in the background. Check the size of any log files in your control panel before clearing them if you think you might need to refer back to something recent, but otherwise they are usually safe to clear.

Removing unused media and duplicates

On a site that has been running for a while, unused uploads accumulate: images swapped out during a redesign, videos replaced but never removed, duplicate copies from testing. Before deleting anything you find this way, check whether it is still referenced anywhere on the live site — see deleting files without breaking your site for how to check that properly rather than guessing.

Do not delete in bulk without checking first

A folder full of old-looking images can still include some that are actively used. Spot-check a sample before removing a large batch at once, and keep a backup of anything you are not completely certain about.

Emptying the trash

If your file manager moves deleted items to a trash or recycle folder rather than removing them immediately, check whether that folder itself is included in your used space — many are, until it is emptied separately. Look for an "Empty Trash" option in the file manager after doing a clean-up, since the space is not actually freed until that step is done.

If you have cleared everything and still need more space

Once genuine clutter is gone and the account is still tight on space, that is a sign the site itself has simply grown past what the current plan offers, and upgrading to a plan with more disk space is the reasonable next step rather than continuing to look for things to delete.

Related reading