On Android, many code editors or text apps can not open very large files. Some of them have the limit of round 40MB
.
For files around 30 MB
, I use this Code Editor to view and edit (this app uses ACE editor under the hook). For larger files, there are a few choices:
A. Read-only
-
This impressive tiny Text Reader can open very large files since it reads the file chunk by chunk (position style). It also supports the TTSand search function.
-
Moon+ Reader also can view large text files.
-
Certainly, for CLI, we can use Termux and open the file with lesscommand (
less file.txt
). There are also many other commands likemore
.
B. Read and Write
- Use Termux and install
nano
orvim
ornvim
(install withpkg install neovim
editor. If you have never used such editors in the terminal before, try usingnano
.
pkg install nano
nano file.txt
# press Ctrl + x to exist, Ctrl + s to save, Ctrl + c to cancel
- This FileEditorX (it supports editing and saving and other operation, but if the safe size is passed
40MB
, some operations may cause errors.)