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

The .ws4 file extension is associated with 1 MIME types:

application/x-wordstar.

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

About .ws4 Files

WS4 files are WordStar for MSDOS documents, version 4. They store plain text mixed with formatting commands.

They follow the MIME type application/x-wordstar.

Key uses include:


Software that opens WS4 files includes the original WordStar program for MSDOS. A DOS emulator like DOSBox can help run WordStar on modern PCs. Some text editors may display the content, but proper conversion is advised for full formatting support.

According to FilExt.com, WS4 files are a classic document format that played an important role in early word processing.

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

application/x-wordstar

FAQs

What is a .ws4 file?

A .ws4 file is a document created by WordStar 4.0, a classic word processing application for MS-DOS. These files contain text data mixed with specific binary control codes used for formatting, such as bolding or underlining.

How can I open a .ws4 file on Windows 10 or 11?

You cannot open these files natively in modern office suites. To view them with original formatting, run the original WordStar software using a DOS emulator like DOSBox. Alternatively, you can open them in a text editor like Notepad++ to recover the text, though formatting characters will appear as symbols.

Can Microsoft Word open WordStar 4 files?

Modern versions of Microsoft Word have removed the import filters for WordStar files. To open a .ws4 file in Word, you generally need to convert it first using a third-party utility or use a very old version of Word (like Word 97) that still supports the format.

How do I convert a .ws4 file to a modern format like PDF or DOCX?

You should use a dedicated file conversion tool specifically designed for legacy formats, such as File Merlin or various online WordStar converters. Once converted to a standard text or RTF file, you can save it as a PDF using standard software.

Why does the text look garbled when I open a .ws4 file in Notepad?

WordStar used "high-bit" characters (modifying standard ASCII codes) to mark the end of words and formatting instructions. Standard text editors interpret these as extended ASCII symbols, resulting in strange characters appearing throughout the readable text.

What is the MIME type for .ws4 files?

The specific media type used for these documents is application/x-wordstar. You can find more detailed configuration information regarding this type at mime-type.com.

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.