{"id":21437856,"url":"https://github.com/mkorthof/ost2pst","last_synced_at":"2025-07-14T15:31:18.757Z","repository":{"id":37807119,"uuid":"141799022","full_name":"mkorthof/ost2pst","owner":"mkorthof","description":"OST2PST - converts Outlook OST files to PST format","archived":false,"fork":false,"pushed_at":"2023-05-28T03:14:01.000Z","size":59154,"stargazers_count":108,"open_issues_count":1,"forks_count":34,"subscribers_count":11,"default_branch":"master","last_synced_at":"2023-11-07T20:11:09.870Z","etag":null,"topics":["converter","email","exchange","jar","java","linux","ost","ost2pst","outlook","pst","windows"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkorthof.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-21T09:30:54.000Z","updated_at":"2023-09-29T14:18:22.000Z","dependencies_parsed_at":"2022-08-19T09:50:34.950Z","dependency_job_id":null,"html_url":"https://github.com/mkorthof/ost2pst","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkorthof%2Fost2pst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkorthof%2Fost2pst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkorthof%2Fost2pst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkorthof%2Fost2pst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkorthof","download_url":"https://codeload.github.com/mkorthof/ost2pst/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225986105,"owners_count":17555557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["converter","email","exchange","jar","java","linux","ost","ost2pst","outlook","pst","windows"],"created_at":"2024-11-23T00:29:46.953Z","updated_at":"2024-11-23T00:29:47.536Z","avatar_url":"https://github.com/mkorthof.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OST2PST\n\nA while ago I needed something to convert a 5GB Outlook OST file to PST format. Turned out [Aspose](https://products.aspose.com/email) has a good (commercial) API/library for Java to do exactly that. I had not touched Java for 10 years but got things sorted within a few hours thanks to clear instructions and good examples and docs. I just used the example and made minimal changes, nothing more.\n\n[**Saving to Outlook 2013/2016 PST files is not supported**](https://docs.aspose.com/email/java/read-and-convert-outlook-ost-file/#converting-ost-to-pst)\n\n## Download\n\nGet files below or from [Releases page](../../releases/latest)\n\n**Jar and wrappers:**\n\n* Main executable: [ost2pst.jar](ost2pst.jar) (verify [SHA512SUMS](SHA512SUMS))\n* Windows batch file: [ost2pst.bat](ost2pst.bat)\n* Linux/BSD shell script: [ost2pst.sh](ost2pst.sh)\n\n\nIf you need to install Java use your OS package manager or download it here: [JRE8+](https://java.com/en/download/manual.jsp) or alternatively [JavaSE-RE-8+](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html).\n\n### Usage\n\n* Windows: `ost2pst.bat \u003cinput.ost\u003e \u003coutput.pst\u003e`\n* Linux: `ost2pst.sh \u003cinput.ost\u003e \u003coutput.pst\u003e`\n\nOr run the jar directly: `java -jar ost2pst.jar \u003cinput.ost\u003e \u003coutput.pst\u003e`\n\n_Remember you need to have at least JRE8 installed, OpenJDK is untested but should work_\n\n### Example\n\n``` batch\n\nC:\\src\\ost2pst\u003eost2pst.bat input.ost output.pst\n\nOST2PST (210619)\n\nINFO: File format is \"64-bit Unicode\" (23)\nINFO: Loading file \"input.pst\" (5GB)\n      Folder [00] \"Public\"\n      Folder [01] \"Inbox\"\n      Folder [02] \"Outbox\"\n      Folder [03] \"Sent Items\"\n\nINFO: Converting \"input.pst\" to \"output.ost\" 511MB/4751MB (11%) |\n\n```\n\n## Building from source\n\n### Import into [Eclipse](https://www.eclipse.org):\n\n* [pom.xml](pom.xml)\n* [LoadAndConvertOSTFileCLI.java](src/main/java/com/ost2pst/LoadAndConvertOSTFileCLI.java)\n\n### Get Aspose.Email for Java API/lib (*required*)\n\n* [GitHub Aspose Email-for-Java](https://github.com/aspose-email/Aspose.Email-for-Java)\n* [docs.aspose.com Installation (Maven)](https://docs.aspose.com/display/emailjava/Installation)\n* [docs.aspose.com Aspose.Email java for Eclipse  (Maven)](https://docs.aspose.com/display/emailjava/Aspose.Email+Java+for+Eclipse+-+Maven)\n\n### Create runnable Jar in Eclipse\n\n* use Ant to 'Export', 'Java', 'Runnable JAR file' (used for [ost2pst.jar](ost2pst.jar))\n* or alternatively use Maven to build project\n\n## TODO\n\nAdd new option that tries to read corrupted ost/pst files. See [here](https://docs.aspose.com/email/java/aspose-email-for-java-20-10-release-notes/#reading-corrupted-pstost-files) for more info.\n\n``` batch\nC:\\src\\ost2pst\u003eost2pst.bat -c broken.ost\n```\n\n## Changelog\n\n### 20210702\n\n* fixed file size formatting: [programming.guide](https://programming.guide/java/formatting-byte-size-to-human-readable-format.html) :)\n* updated aspose-email lib to 21.5\n* removed aspose-email submodule from git repo\n\n### 20200317\n\n* show file format info\n* exits instead of trying to save outlook 2013+ files\n* jar also builds in maven now\n\n### 20200313\n\n* error handling, added notice about outlook '13/16 files\n* updated aspose-email lib to 20.2\n\n### 20200119\n\n* fixed (visual) error before convertion\n* improved messages and progress indicator\n* updated aspose-email lib to 19.12  \n\n### 20180915\n\n* improved progress indicator\n* updated aspose-email lib to 18.8\n\n## More info\n\n* Aspose.Email for Java: \u003chttps://products.aspose.com/email/java\u003e\n* What lead me to Aspose: \u003chttp://wiki.opf-labs.org/pages/viewpage.action?pageId=25887031\u003e\n* Possible alternative \u003chttps://github.com/rjohnsondev/java-libpst\u003e\n\n---\n\u003e moved from old repo mkorthof/Aspose.Email-for-Java\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkorthof%2Fost2pst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkorthof%2Fost2pst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkorthof%2Fost2pst/lists"}