Clear documents. Ready for what comes next.
English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Français | Deutsch | Português (Brasil) | Русский | العربية | हिन्दी
· MIT License · Python 3.12 · Windows · macOS · Linux
Try the Web workspace · Download desktop apps · User guide
CleanText Studio 2.5.5 · v2.5.5-r1 · Latest release
CleanText Studio turns copied text and working documents into clear, structured Markdown, TXT, and Word files. Clean text, convert formats, inspect the result, and keep useful document structure in view. Use the desktop app for queued files, fuller Word handling, and optional AI refinement; open the browser workspace for a quick, local one-file workflow.
TRY THE WEB WORKSPACE · DOWNLOAD THE DESKTOP APP · Read the user guide
If CleanText Studio helps with your work, give the project a star so others can find it.
Why use it · Features · Desktop or Web · Get started · Who it helps · Formats · Examples · Architecture · Privacy · FAQ · Contribute
Text copied from a browser, chat, or AI tool can arrive with broken line wraps, stray Markdown marks, and inconsistent lists. In Word, a heading, table cell, or equation is more than a sequence of characters: a plain find-and-replace cannot reliably tell useful structure from formatting noise.
CleanText Studio gives you a place to clean and convert the document, inspect a structured preview, and review diagnostics before exporting. Markdown is plain text with lightweight markers for headings, lists, links, code, and tables; DOCX is Word's editable document format. Moving between them can make a document easier to edit, share, or use as organized context for an AI workflow.
You can try the Web workspace without installing the desktop app. Neither version requires a CleanText Studio account. The project is MIT-licensed. Basic cleanup and conversion need no AI service, API key, or model-provider payment.
- Text cleanup: choose how to handle Markdown marks, paragraph breaks, URLs, and fragmented action labels. Inspect the source and result before copying or exporting.
- Structure-aware documents: work with headings, paragraphs, lists, links, code, tables, and supported formulas as document content instead of indiscriminately stripping symbols.
- Markdown, TXT, and Word conversion: import and export Markdown, UTF-8 text, and DOCX. Diagnostics call attention to content that may need review after conversion.
- Tables and equations: the desktop pipeline handles native Word tables, supported merged cells, and recognized LaTeX-like or Word OMML equations. Supported equations can be exported as editable Word equations; this is not complete LaTeX support.
- Agent-ready Markdown: a deterministic preset recognizes numbered steps and preserves code fences, paths, and instructions. It does not call, control, or officially integrate with Codex, Claude Code, or another agent.
- Optional AI refinement: on desktop, configure your own provider and key, inspect the selected text and request details, then confirm before sending. Review a suggestion before accepting it.
- A localized workspace: both clients provide twelve interface languages, including right-to-left Arabic, and light, dark, or system-following themes.
| Capability | Desktop | Web |
|---|---|---|
| Markdown, TXT, DOCX input and output | Yes | Yes |
Legacy binary .doc |
Yes, with local LibreOffice | No |
| Multiple files | File queue | One file at a time |
| Per-file size limit | Depends on available system resources | 20 MiB |
| Word tables and merged cells | Native tables and supported merges | Imported structures may be normalized |
| Word equations | Supported OMML can remain editable | Formula content is represented as text |
| Optional AI refinement | Yes, with your provider configuration | No |
| Languages and themes | 12; light, dark, system | 12; light, dark, system |
The Web client is a static browser app. Its worker handles selected files locally for cleanup and conversion; the workflow does not upload their contents. The hosted page still makes ordinary requests to its hosting provider, and offline operation is not guaranteed. Choose Web for a quick task without installation. Choose desktop for a queue, legacy .doc, fuller Word structure handling, or optional AI refinement.
- Open the CleanText Studio Web workspace. No account or API key is needed.
- In the sidebar, select Text Cleaning or Document Conversion.
- Paste text into the source area, or choose Open file for a Markdown, TXT, or DOCX file up to 20 MiB.
- For conversion, select an output format and a preset such as Agent-ready Markdown.
- Choose Clean text or Convert document. Inspect the preview and diagnostics, then use Copy or Download.
Names in bold are the English interface labels; the app can display twelve languages. The Web client does not handle binary .doc, batches, or AI refinement. Its DOCX path may simplify Word-specific objects, and formula output is text rather than a native Word equation. See the conversion guide for details.
Open Text Cleaning, paste the copied draft, select the cleanup options appropriate to its source, and run the cleanup. Compare source and result in text or document preview. Check headings, lists, URLs, and any formula. Copy the result; on desktop, use the export action when you need a Markdown, TXT, or DOCX file. Keep the original until the export has been reviewed.
In desktop Document Conversion, add a .md file to the queue, set the target to DOCX, and select the structure preset that fits the source. Choose Convert document, inspect the summary and warnings, export the DOCX, and open it in Word or another DOCX editor. Check tables and equations there; conversion does not promise identical page layout.
In desktop Document Conversion, add a TXT or DOCX file to the queue, choose Markdown output, and select Agent-ready Markdown. Review the headings, numbered steps, bullets, code blocks, paths, and diagnostics, then export. Add the Markdown to the context or instructions of the agent you use. CleanText Studio formats the document; the agent runs separately.
The latest GitHub Release provides:
- Windows x64: Setup installer for a standard installation, or Portable ZIP to extract and run without an installer.
- macOS Apple Silicon: ZIP package for Apple Silicon Macs.
- Linux x86_64: tar.gz package.
- Web: ZIP bundle of the browser workspace; full offline operation is not guaranteed.
Desktop release packages include their runtime and do not require a separate Python installation. The current application version is 2.5.5; revision v2.5.5-r1 is a distinct release with its own assets. Use the latest-release link rather than downloading an asset from the original v2.5.5 tag by name.
Windows packages are unsigned. The macOS package is unsigned and not notarized, so the operating system may show a security warning. Confirm that the download came from the official release and verify its checksum; do not disable system protections. Install with Windows Setup and uninstall through Windows settings. For the portable edition, extract the ZIP and run the app; remove its folder to uninstall. On macOS, extract the ZIP and follow the system's normal security guidance. On Linux, extract the tarball and consult the release notes if a system library is missing.
For a basic integrity check, download SHA256SUMS.txt from the same release and compare it with the downloaded package. On Windows PowerShell:
Get-FileHash .\CleanText-Studio-v2.5.5-r1-Windows-x64-Setup.exe -Algorithm SHA256The hash confirms that a file matches the published checksum; it is not a code signature. For more detail, see release and build guidance.
Basic cleanup, preview, and document conversion run locally. The browser worker processes the selected Web file in the browser; files are not uploaded by the cleanup or conversion workflow. Opening the hosted site still contacts its host, and the Web version does not promise offline availability.
AI refinement is optional and desktop-only. If you configure a provider, select text, review the request, and confirm, that selected text is sent to the configured service. Provider retention and use are governed by its policies. API keys are stored in the operating-system credential store where supported, or kept for the current session; they are not written to ordinary settings JSON. Sensitive-information scanning is best-effort, not a guarantee. Review the text and provider before sending.
Read privacy, AI data handling, API configuration, and the project's security policy.
| If you are… | A typical task | A useful next step |
|---|---|---|
| New to document tools | Remove awkward copied line breaks | Paste text, inspect the preview, and copy the checked result |
| A student | Organize class notes or study material | Preserve headings and lists, then export an editable DOCX |
| A researcher | Move supported equations and tables into Word | Convert on desktop and review formula/table diagnostics |
| Working in an office | Clean meeting notes or reports | Open TXT, Markdown, or DOCX and export after checking structure |
| Writing or publishing | Move a draft between common formats | Compare the document preview before sharing the export |
| Using AI tools | Prepare task instructions and project context | Export Agent-ready Markdown and review code and paths |
| Developing software | Organize specifications and repository notes | Keep headings, links, lists, and fenced code readable |
Each supported row can be converted to the listed targets on the indicated client. Binary .doc is a separate, older Word format; it is not another name for DOCX.
| Source | Desktop targets | Web targets | Notes |
|---|---|---|---|
| Markdown | Markdown, TXT, DOCX | Markdown, TXT, DOCX | Parsed for structured preview and export |
| TXT | Markdown, TXT, DOCX | Markdown, TXT, DOCX | Structure recognition depends on content and selected preset |
| DOCX | Markdown, TXT, DOCX | Markdown, TXT, DOCX | Browser import can simplify Word-specific objects |
Binary .doc |
Markdown, TXT, DOCX with local LibreOffice | Not supported | Requires a separate local LibreOffice installation |
Desktop conversion uses a structured document tree for supported content. It can preserve native tables, supported merged cells, and recognized equations. Some headers, footers, text boxes, comments, fields, footnotes, images, complex table layouts, or unsupported formulas may not round-trip. Markdown cannot express every Word layout. Review diagnostics and open important exports in the target editor; no format pair guarantees pixel-identical or lossless conversion. The conversion guide explains the boundaries.
The following illustrates the deterministic Agent-ready preset for recognizable numbered steps. It reorganizes structure; it does not rewrite the meaning or call a model.
Input text
1. Project goal
Describe the audience and scope.
2. Constraints
Keep the source files unchanged.
Output from the desktop converter
# Project goal
Describe the audience and scope.
## Constraints
Keep the source files unchanged.The preset keeps a plain action list as a list:
- Review the source
- Check warnings
- Export the result
It is not transformed into headings or rewritten by a model.
For a supported equation such as $x^2 + y^2 = z^2$, the desktop DOCX path may export an editable Word equation. Check the conversion diagnostic and output: this example does not imply complete LaTeX coverage, and Web output represents formulas as text.
Desktop and browser clients implement separate processing paths; they share product concepts and localization work, not a single cross-platform runtime.
flowchart LR
U["User"] --> D["Desktop: Python / PySide6"]
U --> W["Web: TypeScript / Vite"]
D --> DC["Cleanup and document conversion"]
DC --> DT["Document tree / import / export / math"]
DT --> DP["Preview and diagnostics"]
D --> AI["Optional provider interface"]
AI --> EXT["User-confirmed provider request"]
W --> WW["Browser Web Worker"]
WW --> WC["Browser cleanup and conversion"]
WC --> WP["Preview and download"]
The desktop application separates cleaners, document models and adapters, converters, import/export, formula handling, the PySide6 interface, and optional AI providers. The static Web application has its own TypeScript worker pipeline and bundled browser libraries; it does not use desktop LibreOffice or the AI provider layer.
src/cleantext_studio/ desktop application and document pipeline
web/src/ browser workspace, worker, conversion, localization
tests/ unit, document, integration, regression, and UI tests
docs/ user, conversion, privacy, architecture, and dev guides
- Structure-aware conversion is not a guarantee of lossless or pixel-identical round-tripping.
- Web processes one file at a time, with a 20 MiB per-file limit; it does not support
.docor AI refinement. - Web DOCX import may simplify Word-specific objects. Formula output is text, not an editable OMML equation.
- Desktop conversion of binary
.docrequires LibreOffice installed locally. - Only supported formulas can be parsed and exported as editable Word equations. Malformed or unsupported expressions need review.
- Unsupported document objects may be simplified or omitted; inspect diagnostics and important output in its target application.
- Optional AI refinement requires your own provider configuration and may incur provider charges. The project does not supply an API key.
Is CleanText Studio free, and do I need an account?
The project is MIT-licensed. Neither the Web workspace nor the desktop app requires a CleanText Studio account.
Do I need AI or an API key?
No. Cleanup and conversion work without AI. A key is needed only if you choose to configure desktop AI refinement.
Are my files uploaded?
The cleanup and conversion workflows process content locally, including in the browser worker. If you confirm an AI refinement request, the selected text is sent to your configured provider.
Can it convert Word files and equations?
DOCX is supported on both clients, with different fidelity. Desktop can preserve supported structure and export recognized equations as editable Word equations; Web may simplify Word objects and emits formula text. Binary .doc requires desktop and local LibreOffice.
Why does an exported Word document look different?
Word can contain layout and objects that Markdown or the browser converter cannot represent. Review diagnostics and the format notes, then check the export in a DOCX editor.
Why does my system warn about an installer?
The current Windows packages are unsigned; the macOS package is unsigned and not notarized. Download from the official Release page, compare the checksum, and follow the operating system's guidance. Do not turn off security protections.
How do I change the language or theme?
Open Settings and select an interface language or Light, Dark, or System. Both clients include twelve languages and the three theme choices.
You do not need to write code to help. Try a workflow, share a real use case, report a reproducible issue, or identify a translation that sounds unnatural. Documentation and localization are useful contributions too.
- Check existing issues and pull requests. Discuss a larger change before starting it.
- For a bug, include the app version, operating system, reproduction steps, expected result, and actual result in a bug report.
- Developers can fork the repository, create a focused branch, add or update tests, and open a pull request.
- Read CONTRIBUTING.md, the development guide, and the translation guide.
Do not attach private documents, API keys, personal information, or unredacted logs to public issues. Report security vulnerabilities privately through SECURITY.md. If the project is useful to your work, a GitHub star helps other people discover it.
The desktop client uses Python 3.12 and PySide6. The static browser client uses TypeScript, Vite, and Web Workers; Node.js 24.14.0 is pinned by CI. Start with development, architecture, document conversion, and contributing.
On Windows, create a virtual environment and run the desktop app:
py -3.12 -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e ".[dev]"
$env:PYTHONPATH = "src"
python -m cleantext_studio.mainFor the Web development server, from the repository root:
cd web
npm ci
npm run devThe main checks are ruff check ., mypy src, and python -m pytest. From web/, use npm test, npm run build, and npm run e2e. CI additionally validates localization, frozen cleanup behavior, conversion regressions, dependency security, and supported platform packaging. The workflow is the source of truth for its current matrix and thresholds; a passing local run is not evidence for a different operating system.
CleanText Studio is distributed under the MIT License. See the changelog for project history, security policy for vulnerability reports, third-party licenses and notices for dependency attribution, and GitHub Releases for published builds. Maintainer: SiriZhao. Focused bug reports, documentation improvements, and localization contributions are welcome.





