Click the "Select File" button above, and choose your PSM1 file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert PSM1 to another file type
To convert PSM1 modules to another format, you need Microsoft PowerShell or other Developer software.
Convert a file to PSM1
To convert other file formats to the "PowerShell Script Module File" file type, you need software like Microsoft PowerShell or a similar tool.
About PSM1 files
A .PSM1 file is a PowerShell Script Module file used by Windows PowerShell. It stores reusable blocks of PowerShell code, including functions, variables, aliases, and cmdlets. System administrators and developers use these files to package and share scripts so that they can be easily loaded into different environments using the Import-Module command. You can open, read, and edit .PSM1 files natively using Microsoft PowerShell ISE or Visual Studio Code equipped with the PowerShell extension.
The primary disadvantage of the .PSM1 format is that it relies strictly on the PowerShell execution environment. It is not an independent executable program, meaning it cannot run natively on machines without PowerShell configured. Furthermore, strict system execution policies often block unsigned .PSM1 modules from running, leading to frustrating permission errors for end-users. Sharing these files over email is also problematic, as many enterprise spam filters automatically block PowerShell extensions due to their potential security risks.
Users typically need to convert .PSM1 files to TXT to safely review the code without triggering execution warnings, or to PDF to document the source code for compliance and peer review. Occasionally, developers rename the extension to PS1 to test the code as a standalone script rather than importing it as a module. Note that converting to a document format strips away the script's ability to execute.
Because .PSM1 files are ultimately plain text (usually UTF-8 encoded), actual "conversion" to executable formats like EXE requires specialized third-party compilers or wrappers, which often break complex module dependencies. Standard online converters cannot execute or compile this code safely and usually fail to process the file entirely. However, convert.guru can safely parse and extract the underlying script text without executing it. Just drag and drop your file to identify the format, view the raw source code safely, and convert it to readable text or document formats when possible.
Convert.Guru analyzes your PSM1 file, detects the exact format, and lets you read the text inside.
If you want to convert PSM1 file to PS1, JS, TS, PY, JAVA, CPP, C, CS, PHP, RB, GO or RS, you can use Microsoft PowerShell or similar software from the "Script Module Packaging" category. In the File menu, look for Save As… or Export….
To convert SH, PY, KT, PS1, SWIFT, LUA, PL, JAVA, SCALA, JS, VBS or TS files to PSM1, try Microsoft PowerShell or another comparable tool in the "Script Module Packaging" category.
The PSM1 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 PSM1 converter.