Text Editor is a free online developer tool to view and edit text or code with syntax highlighting and save it into a file. Supports over 170 programming languages.
Select the syntax you prefer before starting to edit (defaults to plain text). You can browse a text or code file locally from your device or enter it manually.
For instance, you can use this text editor as
JSON Editor, and so on as long as the syntaxes are supported.
Moreover, you can set the indentation level to an appropriate one depending on the programming language and your preferred styleguide whether it be
When you're done editing, you can either copy the text to your clipboard using the copy button or download it as a file using the download button respectively.