Short answer
SQL files hold database commands, often a full database backup (a dump) that can be loaded back into MySQL, PostgreSQL or similar.
Send a file now, free
How to open a .SQL file
| Device | How to open it |
|---|---|
| Windows | Notepad or any text editor (built in) |
| Mac | TextEdit (built in) |
| iPhone and iPad | Files app preview (built in) |
| Android | Files app or any text editor app |
Quick facts
| Full name | SQL script or dump |
| Type | Data or text file |
| Typical size | 1 KB to 100 GB |
| Shrinks when zipped? | Yes |
Common problems with .SQL files
- The file opens as one long line because of different line endings.
- Special characters look wrong because of the text encoding.
Converting a .SQL file
Text-based files open in any text editor. Specialist apps can import them and save in other formats when needed.
Related formats
- .TXT: TXT holds plain text with no formatting.
- .MD: MD files hold text written in Markdown, a simple formatting syntax used for README files, notes and documentation.
- .JSON: JSON is a text format for structured data, used by web APIs, apps and configuration files.
- .XML: XML is a text format for structured data and documents, used in feeds, configuration and many office formats.
- .HTML: HTML files are web pages.
How to send a .SQL file
- Open TransferFiles.net on the device that has the .sql file.
- Pick the file, or drag it onto the page on a computer.
- Share the link or QR code with the receiver. Add a PIN if the file is private.
- Keep the page open until both screens show Verified identical.
Tip: Database dumps are text and shrink a lot when zipped. They may contain personal data, so lock the link with a PIN.
More detail: sending data or text file files.
Send a file now
Free, no sign-up, no size limit. Works on any phone or computer.
Will a .SQL file fit in email and chat apps?
| File | Size | Gmail | Discord | Telegram | Slack | TransferFiles | |
|---|---|---|---|---|---|---|---|
| Small .sql file | 1 KB | Yes | Yes | Yes | Yes | Yes | Yes |
| Large .sql file | 100 GB | No | No | No | No | No | Yes |
Email limits are counted after encoding, which adds about a third, so we use 75% of the stated limit. WhatsApp and Telegram figures are for files sent as documents. Free plans, checked November 2026. See every limit on our limits page or check your own file with Will it fit?
Finding and sending a .SQL file on each device
| Device | How to pick a .sql file | Where the receiver finds it |
|---|---|---|
| iPhone | Tap Choose files, then pick Photo Library for camera-roll photos and videos, or Browse for anything in the Files app. | the Files app, in the Downloads folder (Safari lets you pick iCloud Drive or On My iPhone in Settings › Apps › Safari › Downloads). |
| Android | Tap Choose files; Android offers your gallery, Files and any cloud apps you have installed. | the Downloads folder, which you can open from the Files by Google app or your phone's My Files app. |
| Windows PC | Click Choose files or Folder, or drag files and folders from File Explorer onto the drop zone. Ctrl+V pastes copied files too. | your Downloads folder (C:\Users\you\Downloads). For files over 200 MB, Chrome and Edge offer to write the file straight to any folder you choose. |
| Mac | Click Choose files or Folder, or drag from Finder onto the drop zone. Cmd+V pastes copied files too. | your Downloads folder. In Chrome and Edge, files over 200 MB can be written straight to any folder; Safari assembles the file in memory first. |
Frequently asked questions
On Windows: Notepad or any text editor (built in). On Mac: TextEdit (built in). On iPhone: Files app preview (built in). On Android: Files app or any text editor app.
Yes. This format isn't compressed, so zipping it usually makes it noticeably smaller.
Use a direct transfer. Open TransferFiles.net, pick the file and share the link. There's no size limit, no account, and the receiver gets the exact original.
Files app preview (built in).
Files app or any text editor app.
TextEdit (built in).
Open files only from people you trust, and keep your device and apps updated. TransferFiles.net confirms the file arrived exactly as sent.