Category: Application
application/x-www-form-urlencoded
application/x-www-form-urlencoded is the default encoding for standard HTML form submissions, formatting key-value pairs as query parameters separated by `&` with percent-encoding.
MIME / CONTENT-TYPE
application/x-www-form-urlencoded
ASSOCIATED EXTENSIONS
None / Stream
PRIMARY CATEGORY
Application
HTTP Headers & Web Server Configurations
Standard HTTP Response Header
Content-Type: application/x-www-form-urlencoded; charset=utf-8Send this exact header in HTTP responses to instruct browsers how to decode and render the payload.
Node.js / Express / Web API
fetch("/api/login", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({ username: "alice", role: "admin" })
});NGINX Configuration (mime.types)
# Default handled by standard HTTP parserApache (.htaccess / httpd.conf)
# Standard HTTP parserSecurity Advisory & Hardening
Always sanitize form values against SQL injection and Cross-Site Scripting (XSS).
Frequently Asked Questions
application/x-www-form-urlencoded Questions & Answers
Common questions regarding MIME types, Content-Type headers, and web server configurations.
The standard HTTP response header is: "Content-Type: application/x-www-form-urlencoded; charset=utf-8".