Many tool sites ask you to upload a file to their server. For a holiday photo that may not matter. For an identity card, a bank statement or a certificate, it can.
Two kinds of tools
Server-based tools send your file over the internet, process it on their computer and send a result back. Browser-based tools do the work on your own device, so the file is never sent.
What to check
Read the privacy policy for how long files are kept. Prefer tools that say they work in your browser. Be careful with sites that ask for an email, an installation or a payment for a simple job.
How to test a browser-based tool
Open the tool, turn off your internet connection, and try a small file. If it still works, the processing is local. Some tools load a helper library the first time, so open the page online first.
Good habits
Remove sensitive pages before sharing a PDF. Keep your originals. Use official portals for documents that must be submitted to a government office.