text/x-fortran is a text media type commonly associated with .f, .for, .f77, .f90 extensions.
Quick facts
What is text/x-fortran
text/x-fortran is one of the text media types used on the internet. When serving this content over HTTP, set the Content-Type header in the response, for example:
Content-Type: text/x-fortran
Related entities: associated extensions include .f、.for、.f77、.f90, and is delivered over HTTP via the Content-Type header, commonly with GET, POST, PUT and PATCH requests.
Related formats:
Relation chain
Related extensions
Related MIME types
Used with
Related headers
Related methods
Frequently asked questions
text/x-fortran is a text media type used to identify a content format; servers announce it to clients with the Content-Type header.
Extensions such as .f, .for, .f77, .f90 are associated with this MIME type.
Send Content-Type: text/x-fortran in the HTTP response.
Sources & standards
Updated 2026-08-18
Explore this reference