Which MIME types are related to file extension ".stm"?

The .stm file extension is associated with 15 MIME types:

text/x-server-parsed-html, text/x-server-parsed-html3, application/playerpro, application/soundapp, audio/it, audio/med, audio/mod, audio/module-xm, audio/s3m, audio/x-mod, audio/x-s3m, audio/x-xm, audio/xm, text/plain, application/octet-stream.

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

About .stm Files

STM files are multifaceted files that serve distinct purposes.
They can be used as Server Side Includes files with MIME types text/x-server-parsed-html and text/x-server-parsed-html3. In this role, such files contain HTML with embedded commands that the web server processes to generate dynamic content.
They also serve as Module Music Formats files. Many MIME types (like audio/it, audio/xm, audio/mod, and others) indicate that these STM files store sequencing data and samples used by digital music trackers. Software such as OpenMPT, Schism Tracker, or the original Scream Tracker can open these files.
Additionally, STM files might be simple plain text files formatted for GNU TeXmacs Scheme, making them useful in technical or academic environments.
They can also represent binary data for Smart Software Time Manager, though this use is less common.

Based on information from FilExt.com.

Relationship between file extension and MIME type

A file extension is a suffix at the end of a filename that indicates what type of file it is. File extensions help both users and operating systems identify what application should be used to open the file.

File extensions are typically separated from the filename by a period (dot) and consist of 2-4 characters, though they can be longer. For example, in the filename "document.pdf", ".pdf" is the file extension.

File extensions are closely related to MIME types, as they both serve to identify the format of a file. However, while MIME types are used primarily by web browsers and servers, file extensions are used by operating systems and applications.

Associated MIME types

text/x-server-parsed-html, text/x-server-parsed-html3, application/playerpro, application/soundapp, audio/it, audio/med, audio/mod, audio/module-xm, audio/s3m, audio/x-mod, audio/x-s3m, audio/x-xm, audio/xm, text/plain, application/octet-stream

FAQs

What are the most common uses for the .stm file extension?

The .stm extension typically refers to one of two formats: a Scream Tracker Module (an older digital audio file) or an HTML Server Side Include file used for dynamic web content. Less frequently, it may be associated with GNU TeXmacs or Smart Software data.

How do I play an STM audio file?

To play STM music modules, you need a specialized audio tracker or a player that supports legacy formats. Popular options include OpenMPT (Open ModPlug Tracker), Schism Tracker, and VLC media player. These programs emulate the original hardware to render the synthesized sounds.

How do I open and edit an STM web file?

Since STM web files are text-based scripts containing HTML and server-side commands, you can edit them with any standard code editor like Notepad++, Visual Studio Code, or Sublime Text. However, to view the rendered webpage, the file must be hosted on a web server configured to process Server Side Includes.

Can I convert STM music files to MP3?

Yes, you can convert STM modules to standard audio formats. Software like OpenMPT allows you to open the module and export it to WAV, which can then be converted to MP3. VLC media player also offers conversion features for supported audio formats.

What MIME types are associated with STM files?

For web server configurations, the correct MIME type is usually text/x-server-parsed-html or text/x-server-parsed-html3. For audio files, various tracker types are used, such as audio/x-mod or audio/x-s3m. You can find a detailed list of these associations on mime-type.com.

Why does my browser display code instead of a webpage when opening an STM file?

This happens if you open the file locally or if the web server isn't configured to parse the .stm extension. The server needs to recognize the file as text/x-server-parsed-html to execute the embedded commands; otherwise, it treats it as plain text.

Are STM files safe to open?

STM audio files are generally safe media files. However, STM web files contain server-side scripts that execute commands on a server. You should treat unknown web scripts with caution, ensuring they do not contain malicious code before deploying them.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why can one extension have multiple MIME types?

Different programs and historical usage may assign various MIME identifiers to the same file format. Listing them together helps maintain compatibility across tools.