Sparrow Plugins

Upload Allowlist

Allow safe extra file types, fix false "not allowed to upload this file type" errors, and see your real upload size limit.

Coming to WordPress.org soon

WordPress takes a fixed list of file types. Upload a JSON file, a font or an e-book and you get "Sorry, you are not allowed to upload this file type". Upload Allowlist gives you a list of extra types that are safe to keep in a media library. Tick the ones you need.

WordPress also looks inside each file, so a Markdown file that looks like plain text is refused even when .md is allowed. Each type here knows the content types it really has. The plugin accepts the file when the inside matches, and still refuses PHP or HTML with a harmless name.

The same check fixes false refusals of standard types such as .ics calendars, .gz archives and audio-only .webm. This fix is on by default.

The Size limit tab shows the largest upload your site takes and the setting behind it. A file checker tells you why a file would be refused, without adding it to the library.

What the free version does

Pro

The free version is complete on its own. Pro adds:

Privacy

No outside requests of its own and nothing stored about visitors. The file checker reads the file you pick and throws it away.

Questions

Can I allow PHP, SVG or HTML?

No. Those can run code in a browser or on the server. They are never on the list, and a file whose inside looks like PHP or HTML is refused even with a safe name.

Why is my limit still 2 MB?

Upload limits come from your server. The Size limit tab names the setting and the php.ini file to change, or ask your host to raise upload_max_filesize and post_max_size.