Skip to main content
Technical MIME Specification & Web Server Guide

application/sql

Technical overview, official IANA specification, header magic bytes, and server configuration snippets for .SQL files (Structured Query Language Script).

File Extension

.sql

Content-Type Header

application/sql

Format Category

Databases

Standard Specification

RFC 6922

Description & Usage

Database query and schema definition file containing SQL statements.

HTTP Server Content-Type Configuration Code

# Nginx mime.types configuration for .sql
types {
    application/sql    sql;
}

OS Compatibility Matrix

Windows
macOS
Linux
Android
iOS

Want to test header signatures or binary files?

Run binary magic byte inspection in Magic Byte Detector.

Frequently Asked Questions

The official MIME content type for .sql files is "application/sql". Web servers use this header to instruct browsers how to render or process .sql data.