TXT File Maker
Create a .txt, .html, .py, .php, .js or any text file online. Type or paste your content, name the file and download it instantly. Nothing is uploaded.
Name your file
Type a file name with its extension, or pick a common type to set it for you.
Write or paste your content
Everything you type is kept exactly as it is. Press Tab to indent. Ctrl or Cmd plus S downloads the file.
How it works
- Give your file a name with the extension you want, such as script.py, index.html or notes.txt.
- Type or paste your text or code into the editor. It is kept character for character.
- Click Download file, or press Ctrl and S (Cmd and S on a Mac), and the file saves to your device.
Good to know
- This is for text based files: code, markup, data and plain text. It cannot turn text into a real image, PDF or zip.
- Files are saved as UTF-8. Choose Windows line endings if the file is for an older Windows program that needs them.
- It all happens in your browser, so it keeps working with the internet switched off once the page has loaded.
Is anything uploaded or stored?
No. The file is built in your browser and saved straight to your device. Nothing is sent to a server and nothing is kept. When you close the page, nothing is left behind.
Which file types can I make?
Any text based file: .txt, .html, .css, .js, .json, .md, .php, .py, .xml, .csv, .sql, .yml, .sh and many more. You can type any extension you like into the name box. It is not meant for binary files such as images, PDFs or zip archives, since those are not plain text.
Is my code changed in any way?
No. What you type is what you get, character for character. The only optional changes are the ones you choose: the line ending style and whether to add a blank line at the end.
What is the difference between the line ending options?
Unix and Mac files use LF, while some older Windows programs expect CRLF. If your file looks like one long line when opened in a basic Windows editor, save it again with the Windows option.
Is there a size limit?
There is no fixed limit and normal files save instantly. Very large content, in the range of many megabytes, may be slower to handle in the browser.
Other free tools
JPG to PDF Converter
Convert images to one PDF and keep it under 100KB.
Open toolReduce Image Size in KB
Resize photos to 20KB, 50KB or 100KB for any form.
Open toolFree QR Code Generator
QR codes for links, WhatsApp, WiFi and UPI as HD PNG.
Open toolGST Invoice Generator
Free GST invoice with CGST, SGST, IGST as a PDF, no login.
Open toolPhoto Slideshow from Folder for Mac
Play a photo folder as a slideshow, no Photos import.
Open toolRFID Card Reader Test
Check an RFID reader and read any card number.
Open tool