How can I upload files from Google Drive?
If you make the file shareable via a suitable link from Google Drive, you should obtain a link of following form:
https://drive.google.com/open?id=FILE_ID
On Overleaf, you can then use the FILE_ID to link a file in your project to that URL. To do this, click on the Upload files button above the file list panel. Select From External URL and enter
https://drive.google.com/uc?export=download&id=FILE_ID
where FILE_ID comes from the sharing link above.

Now, if you make a change to the file on Drive, you can pull the new version into your Overleaf project by clicking the refresh link on the linked file.
This works particularly well if you have a Google Drive folder on your computer. Then you can save a file, e.g. an export from a bibliography manager, to your Google Drive and refresh it with one click in Overleaf.
Note that if the file is not set to allow access to anyone with the link, or if you just use the sharing link directly without going through the process above, you may find that the PDF or image file that you upload from Google Drive by URL is not valid. This is because Overleaf will save the Google Drive web viewer page us rather the file itself. If you go through the process above, you should be able to link to the file directly.
Other online storage platforms
You can also use this method to add files from another cloud hosting platform, such as OneDrive, Dropbox, Box.
For Dropbox, replace dl=0
at the end of the file's URL with raw=1
.
For OneDrive, replace redir
in the file's URL with download
.
See this page for further details on direct links to files on online storage platforms.
Overleaf guides
- Creating a document in Overleaf
- Uploading a project
- Copying a project
- Creating a project from a template
- Using the Overleaf project menu
- Including images in Overleaf
- Exporting your work from Overleaf
- Working offline in Overleaf
- Using Track Changes in Overleaf
- Using bibliographies in Overleaf
- Sharing your work with others
- Using the History feature
- Debugging Compilation timeout errors
- How-to guides
LaTeX Basics
- Creating your first LaTeX document
- Choosing a LaTeX Compiler
- Paragraphs and new lines
- Bold, italics and underlining
- Lists
- Errors
Mathematics
- Mathematical expressions
- Subscripts and superscripts
- Brackets and Parentheses
- Matrices
- Fractions and Binomials
- Aligning Equations
- Operators
- Spacing in math mode
- Integrals, sums and limits
- Display style in math mode
- List of Greek letters and math symbols
- Mathematical fonts
Figures and tables
- Inserting Images
- Tables
- Positioning Images and Tables
- Lists of Tables and Figures
- Drawing Diagrams Directly in LaTeX
- TikZ package
References and Citations
- Bibliography management with bibtex
- Bibliography management with natbib
- Bibliography management with biblatex
- Bibtex bibliography styles
- Natbib bibliography styles
- Natbib citation styles
- Biblatex bibliography styles
- Biblatex citation styles
Languages
- Multilingual typesetting on Overleaf using polyglossia and fontspec
- Multilingual typesetting on Overleaf using babel and fontspec
- International language support
- Quotations and quotation marks
- Arabic
- Chinese
- French
- German
- Greek
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
Document structure
- Sections and chapters
- Table of contents
- Cross referencing sections and equations
- Indices
- Glossaries
- Nomenclatures
- Management in a large project
- Multi-file LaTeX projects
- Hyperlinks
Formatting
- Lengths in LaTeX
- Headers and footers
- Page numbering
- Paragraph formatting
- Line breaks and blank spaces
- Text alignment
- Page size and margins
- Single sided and double sided documents
- Multiple columns
- Counters
- Code listing
- Code Highlighting with minted
- Using colours in LaTeX
- Footnotes
- Margin notes
Fonts
Presentations
Commands
Field specific
- Theorems and proofs
- Chemistry formulae
- Feynman diagrams
- Molecular orbital diagrams
- Chess notation
- Knitting patterns
- CircuiTikz package
- Pgfplots package
- Typing exams in LaTeX
- Knitr
- Attribute Value Matrices
Class files
- Understanding packages and class files
- List of packages and class files
- Writing your own package
- Writing your own class
- Tips