Install and activate the "Export Media Library" plugin from the WordPress plugin repository.
Once activated, go to the WordPress dashboard and navigate to the "Media" section.
Click on the "Export" button at the top of the page, and select "Export All".
Choose the export format and options that suit your needs, and click "Download" to start the export process.
Wait for the export process to complete, and then download the ZIP file containing all of your WordPress media files.
(Recorded with
https://screencast-o-matic.com)