▾ ADVERTISEMENT ▾

Welcome to Text Editor

Google Drive

Text Editor is a free app that allows you to create, open, and edit text files on your computer and Google Drive.

Loading... Loading...

How to use Text Editor

  1. First, select a text file from your computer, Google Drive, or GMail attachment.
  2. The file will be displayed in your browser where you can then make any changes or edits.
  3. After edits are made, press the "Save to Drive" button to save the edited file back to Google Drive.
  4. Download a copy of the file to your computer or device using the "Download" button.

How Text Editor works

  • Text Editor is a pure Javascript web app. All processing is done locally in your web browser and on your computer.
  • This app will open a text file of your choice, letting you make changes and save back them to Google Drive or your computer.
  • Text Editor can open all text files types including TXT, CSV, HTML, XML, CSS and JSON as well as code files such as C++, Java, and Python.
  • Standard text editor features are supported including syntax highlighting, word wrap, themes, and keyboard shortcuts.
  • Keyboard shortcuts are supported; press the "Keyboard" icon in the toolbar to display a list of all keyboard shortcuts.

Text Editor Toolbar

  • Text Editor has a toolbar that allows you to configure the editor screen according to your preferences. Text Editor Toolbar
  • The buttons on the toolbar are described below.
    • Undo - Undo the last action or text edit
    • Redo - Redo the last action or text edit
    • Print - Print the current text document
    • Word Wrap - Toggle the current word wrap mode. Cycles between word wrap on, word wrap to edge of editor, and word wrap to the print margin, if defined.
    • Line Numbers - Toggle whether line numbers are displayed on the side of the editor.
    • Print Margin - Toggle whether the print margin is displayed. Cycles between displayed at 80 characters, displayed at 100 characters, and off.
    • Tab Mode - Toggle the tab mode. Cycles between hard tabs, soft tabs with 2 spaces, and soft tabs with 4 spaces.
    • Whitespace characters - Toggles whether "invisible" whitespace characters are shown, for example, tab markers, spaces between words and carriage returns (line breaks).
    • Font size - Cycles through font sizes ranging from 10px font size to 24px font size.
    • Theme - Cycles through "light" theme, "dark" theme, and "blue" theme.
    • Find and Replace - Finds the specified text on the page, optionally replacing one or more occurrences with a new text value.
    • Go to Line - Jumps to the specified line number in the text document.
    • Download - Downloads a copy of the text file to your browser.
    • Open in Drive - Opens the text file in Google Drive.