> For the complete documentation index, see [llms.txt](https://docs.overleaf.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overleaf.com/getting-started/how-do-i-use-overleaf.md).

# How do I use Overleaf?

Overleaf is a powerful yet easy-to use LaTeX editor and collaboration platform that's built for experienced LaTeX users as well as those new to LaTeX.

## LaTeX users

**If you are familiar with LaTeX** then using Overleaf couldn’t be simpler because we provide full support for direct LaTeX editing and automatically compile your document for you on our servers—there’s nothing to install! All you need to do is create a document, select the **Code Editor** and begin writing your LaTeX code:

<figure><picture><source srcset="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2Fncyirmsmpp1vRiMbJ13S%2FEditorModeSwitching_Dark.png?alt=media&amp;token=defaf366-7c3d-46b6-b9ea-c6ab76f519e6" media="(prefers-color-scheme: dark)"><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FdkL10tlg6ILnD41goWhm%2FEditorModeSwitching_Light.png?alt=media&amp;token=990d2c41-c8f8-42c3-928a-7a5c7dcd775f" alt="New editor image showing the Code Editor and Visual Editor toggle, located above the editor area on the left."></picture><figcaption><p>Image showing the Code Editor and Visual Editor toggle.</p></figcaption></figure>

## New to LaTeX

**If you are new to LaTeX** and need some help to get started, our [tutorials](https://www.overleaf.com/tutorial) page lists a wide range of learning materials to jump-start your LaTeX journey. We’ve also pre-loaded a range of [templates and examples](https://www.overleaf.com/latex/templates) into Overleaf to help you create your first document.

**Another option for beginners** is to start with a [sample document](https://www.overleaf.com/docs?template=overleaf\&rich_text=true) using the **Visual Editor** and use that to explore Overleaf. The **Visual Editor** lets you write and edit your document using a rich-text, Word-like interface—no need to know or use LaTeX code. It's ideal for those who are new to LaTeX or prefer a more intuitive writing experience.

The **Code Editor,** on the other hand, is the traditional LaTeX environment where you write and edit your document using LaTeX commands.

<figure><picture><source srcset="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FgvHMSv03yW0UCA45pFcB%2FGettingStarted_Dark.png?alt=media&amp;token=afdeb807-6149-44c1-b4b0-716f76c29f9c" media="(prefers-color-scheme: dark)"><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FzPCo5LPhpERA6oVLuAWU%2FGettingStarted_Light.png?alt=media&amp;token=b03be5bb-07b3-43db-bedb-82ec9d8df188" alt="New editor image showing how to use Overleaf. It highlights the Code Editor and Visual Editor toggle, the editor area for writing and editing your document, the Recompile button to view the typeset result, and the display of the typeset document."></picture><figcaption><p>Image showing how to use Overleaf.</p></figcaption></figure>

We hope you enjoy using Overleaf, and if you have any comments or questions, please get in touch via our [contact page](https://www.overleaf.com/contact).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.overleaf.com/getting-started/how-do-i-use-overleaf.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
