DocuFun

TXTText and code

Open text and code files

Read plain text, logs and source code with line numbers, wrapping and gentle syntax colors. Over 50 file types.

Drop a TXT file to open it

TXT and 50+ other formats

Opens on your device. Nothing is uploaded.

What you’ll see

  • Line numbers
  • Wrap or scroll long lines
  • Syntax colors for common languages
  • UTF-8 and UTF-16 text
  • Search

How to open a TXT file

  1. Choose your file

    Tap “Choose a file” above, or drag your .txt file anywhere onto this page.

  2. Read it instantly

    DocuFun opens it on your device in a second or two. Nothing is uploaded.

  3. Print, save or share

    Use Print to make a PDF, search inside the document, or download the original again.

Never uploaded

Your file is opened by code running in this page. It never travels to a server — not ours, not anyone’s.

Works offline

After your first visit DocuFun keeps working with no connection. Try it in airplane mode.

No sign-up

No account, no email, no cookies, no tracking. Open a file and read it. That’s it.

TXT questions

Does it run the code?

Never. Code files are shown as text only.

Which encodings work?

UTF-8 and UTF-16 (with a byte-order mark). Other text is read as UTF-8.

Is it safe to open private documents here?

Yes. The file is read by code in this page and never leaves your device. DocuFun has no server that could receive it.

Coming soon to Android and iOS

Every document, in your pocket

The DocuFun app opens even more formats, works fully offline, keeps your recent files and favorites, scans paper to PDF and reads books aloud.