Code
What is a .sgm file?
A .sgm file is a Standard Generalized Markup Language. This is a code, script or executable format.
How to open a .sgm file
- VS Code opens and highlights nearly every text-based code format.
- Never run a script you didn't write or trust.
The registry records this extension against Standard Generalized Markup Language, so software from that family is the most likely match.
How to convert a .sgm file
- Text-based code needs no conversion โ just save with a different extension if a tool insists.
MIME type
When a .sgm file travels over the web, servers label it with this MIME type:
text/sgmlThe technical record
For archivists, developers and the merely curious: these are the PRONOM registry entries for .sgm.
| Format name | Version | MIME type | PUID |
|---|---|---|---|
| Standard Generalized Markup Language | โ | text/sgml | x-fmt/195 |