TextForge is a technical file editor for Windows, for files such as .txt, .log, .csv, .json, .xml, .sql and scripts. It is for opening, searching, fixing and closing without waiting for project indexing, preserving encoding, BOM and line endings when saving. Files above 20 MB open in a viewer that does not load everything into memory, with per-line editing when you turn it on. Nothing that is opened is ever executed.
This page is a translation of the Portuguese site. Most programs have a Brazilian Portuguese interface; check each repository for the available languages.
Opens large files in a virtualized viewer; in the project's tests, 178 MB opened in 0.01 s.
Per-line editing in a large file, with only the changed lines held in memory.
Detects the encoding and preserves BOM, line endings and indentation when saving.
Syntax highlighting for 23 languages.
Formats and validates XML, JSON, SQL, CSS, HTML and Python.
Edits CSV as a table and the cell values of .xlsx without losing charts and macros.
Follows logs as they are written (tail), detecting truncation and rotation.
Column block selection and folder search with regex.
Who it is for
IT, support and data analysts
Requirements
Windows.
Runs from source code with Python 3.13.
build.bat builds, from the code, a folder with a ZIP or a portable executable.
Frequently asked questions
Is TextForge free?
Yes. TextForge is free and open source, under the MIT license.
Do I need to install it?
The download is the source code: create an environment with Python 3.13, install the dependencies and run app.py. The executable built by build.bat needs no installation and no administrator rights.
Does it open very large logs or CSV files?
Yes. Above 20 MB the file opens in a virtualized viewer, with scrolling, go to line, search and copy all working.
Is it safe to open .bat, .ps1 or .py scripts?
Yes. TextForge does not execute anything it opens: a script is shown as text, and there is no Run command.
Does TextForge change the file's encoding?
No. Encoding, BOM, line endings and indentation are preserved when saving, and conversion warns you beforehand which characters would be lost.
Can I edit an Excel spreadsheet?
Only the cell values of .xlsx and .xlsm. Formatting, charts, pivot tables and macros cannot be edited, but they stay intact when saving.
Edit the text in a PDF, annotate, sign digitally, redact sensitive data, fill in forms, rearrange pages and protect with a password. Also runs in the browser.