
1. Copy below code in browser Url Section
data:text/html, <html contenteditable>
2. Now Press Enter.
3. Now you can type anything as would do on any other text editor like Notepad.
4. To save your text file Press Ctrl + S and save it as anything.txt
Done.