A free, open-source Google Docs add-on that brings desktop publishing features to your documents. Create professional brochures, newsletters, event programs, business cards, and flyers with ready-made templates, custom branding, and built-in folding guides.
Companion project to Layout Toolkit for Word.
Template Gallery: Six ready-to-use layouts (tri-fold brochure, bi-fold brochure, classic newsletter, event program, business card, event flyer). Each generates a complete Google Doc with placeholder content formatted with your brand settings.
Layout Tools: Direct control over page orientation, paper size, margins, and insertable elements including text placeholders, horizontal dividers, pull quotes, and sidebar callout boxes.
Brand Profiles: Save and switch between organization-specific color schemes and font pairings. Brand settings are applied automatically when generating any template. Profiles are stored per user via Google Apps Script PropertiesService.
Folding and Print Guide: Built-in visual diagrams showing how to fold tri-fold and bi-fold brochures.
- Open any Google Doc.
- Click Extensions > Apps Script.
- Delete the default
myFunctioncode inCode.gs. - Copy the contents of
Code.gsfrom this project and paste it in. - Click the + next to Files and select HTML. Name the file
Sidebar(case sensitive) (without the .html extension, as Apps Script adds it automatically). - Delete the default HTML content and paste in the contents of
Sidebar.htmlfrom this project. - Save both files (Ctrl+S / Cmd+S).
- Close the Apps Script editor tab.
- Reload the Google Doc.
- You will see a new Layout Toolkit menu in the menu bar.
npm install -g @google/clasp
clasp login
clasp create --type docs --title "Layout Toolkit"
clasp pushThen open the linked Google Doc and reload.
- Open the sidebar: Layout Toolkit > Open Sidebar
- (Optional) Go to the Branding tab, set your organization name, colors, and fonts, then click Save Profile and Set Active.
- Go to the Templates tab and click any template card.
- The document content will be replaced with the selected template, formatted with your active brand.
- Edit the placeholder text directly in the document.
- Use the Layout tab to adjust page setup, margins, or insert elements like pull quotes and dividers.
layout-toolkit-gdocs/
Code.gs Server-side Apps Script (menu, templates, branding, layout)
Sidebar.html Client-side UI (three-tab sidebar with template gallery)
README.md This file
| Feature | Word Add-in | Google Docs Add-on |
|---|---|---|
| Column layouts | OOXML injection for true columns | Table-based layouts (Docs API limitation) |
| Brand storage | localStorage in browser | PropertiesService (per-user, server-side) |
| Sidebar width | Configurable | Fixed at 300px |
| Page setup | Full Office JS API | DocumentApp (orientation, size, margins) |
| Distribution | Sideload manifest or AppSource | Apps Script editor or Google Workspace Marketplace |
MIT
Alyssa I. Agard