Click the "Select File" button above, and choose your WSF file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert WSF to another file type
To convert WSF scripts to another format, you need Windows Script Host or other Executable software.
Convert a file to WSF
To convert other file formats to the "XML Scripting File" file type, you need software like Windows Script Host or a similar tool.
About WSF files
The .wsf (Windows Script File) is an XML document designed to be executed by the Microsoft Windows Script Host. It acts as a container that can hold multiple scripting languages, such as VBScript and JScript, within a single file. Additionally, a rare variant exists as a legacy Samsung video file used in surveillance setups.
On Windows, double-clicking a .wsf file runs the code using wscript.exe or cscript.exe. To edit them safely, developers use Notepad++ or Visual Studio Code.
Because .wsf files are executables, they are a massive security risk. Email providers and web browsers often block them outright because hackers frequently use them to deploy ransomware. Furthermore, they only run natively on Windows, making them useless on macOS or Linux environments. Opening them accidentally can execute harmful code instead of simply showing the script content.
To safely inspect the code without running it, convert the .wsf to TXT or XML. If you need to share the script safely online or archive it, convert it to PDF. If your file is the rare Samsung video variant, convert it to MP4 for playback on modern devices. Just drag and drop your file here to analyze and convert it securely right in your browser.
Convert.Guru analyzes your WSF file, detects the exact format, and lets you read the text inside.
If you want to convert WSF file to EXE, MSI, APP, DMG, DEB, RPM, PKG, RUN, SH, BAT, CMD or COM, you can use Windows Script Host or similar software from the "Script Execution and Automation" category. In the File menu, look for Save As… or Export….
To convert JAR, APP, SCR, IPA, COM, AAB, PS1, DMG, VBS, EXE, XAPK or MSI files to WSF, try Windows Script Host or another comparable tool in the "Script Execution and Automation" category.
The WSF Converter Story
The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our WSF converter.