ApplicationText-based

application/jwt

JSON Web Token

Reference for application/jwt, the MIME type for JSON Web Tokens used for authentication and authorization in web APIs.

MIME Type Detector

Drop a file to detect its MIME type — no upload, runs in your browser

📄

Drop any file here or click to choose

HTTP Content-Type Header

HTTP Header
Content-Type: application/jwt; charset=utf-8

Quick Facts

MIME Typeapplication/jwt
CategoryApplication
TypeText-based (human-readable)

Common Usage

JWTs are compact, URL-safe tokens for transmitting claims between parties. They are the standard for API authentication, OAuth 2.0 access tokens, OpenID Connect ID tokens, and stateless session management.

JWTs consist of a header, payload, and signature encoded in Base64URL.

Code Examples

HTML
<!-- Set MIME type in meta or fetch headers -->
<meta http-equiv="Content-Type" content="application/jwt">
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('application/jwt');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'application/jwt' });
nginx
# nginx.conf — add to types block or use default
types {
    application/jwt  jwt;
}

# Or set for a specific location
location /api/ {
    default_type application/jwt;
}

Related MIME Types

More Application MIME Types

Other application types in the Application family

Related Tools

Explore More MIME Types

Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.