How Text / code viewer works
Text Viewer opens text and source-code files directly in a browser tab: plain text (.txt), logs (.log), Markdown (.md), HTML, JSON, CSV and TSV, XML, YAML, plus dozens of code extensions such as .py, .js, .sql, .toml or .conf. Drop a file and read it immediately, with no account, no installed editor and no upload: the file is read locally by the browser's File API and never leaves your device, so it also works offline once the page has loaded.
Four formats get a rendered view on top of the raw text. Markdown is converted to a formatted page and sanitized before display, HTML files are previewed in a sandboxed frame with scripts disabled, JSON is pretty-printed with consistent indentation, and CSV or TSV opens as a table with the delimiter detected automatically. Everything else, including code files, is shown as clean read-only text with line and character counts. Files up to 10 MB are supported, which covers most logs, exports and configuration files that a phone's notepad app chokes on.