Terrastruct
Terrastruct builds D2 Studio, a collaborative web IDE for software architecture diagrams that combines a text-to-diagram DSL (D2, open-sourced) with bidirectional GUI editing, powered by its proprietary TALA layout engine, sold via subscription to engineering teams.
- Company typePrivate
- Founded2019
- HeadquartersSan Francisco, United States
- Headcount1–10
- GTM typeB2B
- OfferingSoftware
What Terrastruct does
Terrastruct, Inc. is a San Francisco-based developer tools company that builds diagramming software purpose-built for software architecture documentation. The company's core product is D2 Studio, a collaborative web IDE that uniquely combines text-to-diagram (via the D2 domain-specific language) with drag-and-drop GUI editing, with bidirectional synchronization between the two modes. D2, the underlying DSL, was open-sourced under Mozilla Public License 2.0 in November 2022 and has accumulated 25,000+ GitHub stars, functioning as Terrastruct's primary developer acquisition channel. Powering the layout quality is TALA (Terrastruct's AutoLayout Approach), a proprietary layout engine built from scratch with zero dependencies and engineered specifically for software architecture diagrams using orthogonal pathing, container-first layout, and automatic hierarchy detection.
The company sells through two monthly subscription tiers: a Bundle at $20/month/user for individuals and small teams, and an Enterprise tier at $30/month/user for engineering teams of 10+ that includes SSO, audit trail (SIEM), on-premises hosting, and admin controls. Terrastruct is SOC 2 Type II certified and pursues a hybrid go-to-market combining product-led growth (free D2 download, self-serve web signup) with enterprise direct sales (via [email protected]). The customer base spans named logos including Microsoft, Accenture, Cambridge University, PBS, Quizlet, NMI, and design partners at AWS and Meta, though the headcount of 1-10 employees suggests paid enterprise penetration remains early-stage.
Terrastruct's ecosystem extends beyond D2 Studio through official plugins for VSCode, Vim, Obsidian, Slack, and Confluence, plus community-built integrations for PostgreSQL, MongoDB, Structurizr, ROS2, and MdBook. The company is backed by Haystack, Bloomberg BETA, Fathom, and founders of Postman and Retool. It was founded in 2019 by Alexander Wang and other engineers with prior experience at Stripe and Google.
Terrastruct firmographics
Firmographics- Name
- Terrastruct
- Legal name
- Terrastruct, Inc.
- Website
- https://terrastruct.com
- Company type
- Private
- Founded year
- 2019
- Operating status
- Operating
- Headcount range
- 1–10 employees
- Short description
- Terrastruct builds D2 Studio, a collaborative web IDE for software architecture diagrams that combines a text-to-diagram DSL (D2, open-sourced) with bidirectional GUI editing, powered by its proprietary TALA layout engine, sold via subscription to engineering teams.
- Ownership category
- akta.pro rank
Terrastruct industry classification
Industry- Product category
- Developer Documentation Software
- NAICS
- Software Publishers (5132)
- SIC
- Services-Prepackaged Software (7372)
- akta.pro primary industry
- Developer Experience Platforms for Enterprise (IDEs, CI/CD, Dev Portals) (HDAEAKAI)
Keywords
Where Terrastruct is headquartered
LocationHeadquarters
- HQ city
- San Francisco
- HQ country
- United States
- HQ region
- North America
Offices1 record
Markets served
Terrastruct business model
Business model- GTM type
- B2B
- Offering type
- Software
- Cost components
- Personnel, Technology or R&D, Infrastructure, Marketing or Sales, Operations
Revenue model
- D2 Studio Subscription (Bundle): Per-user monthly subscription at $20/month providing access to D2 Studio, D2 with basic support, and TALA personal license. IP of diagrams belongs to individual.
- D2 Studio Enterprise Subscription: Per-user monthly subscription at $30/month for engineering teams of 10+. Includes D2 Studio with Enterprise features, dedicated support, TALA enterprise license, SSO, audit trail, and option for on-premises hosting.
- TALA Standalone License: TALA layout engine available for local/offline use with license keys bundled with Terrastruct subscriptions. Discounted $5/month for students, researchers, non-profits, and open-source maintainers.
Pricing tiers
| Model | Billing | Price |
|---|---|---|
| Subscription | Monthly | Bundle - $20/month/user |
| Subscription | Monthly | Enterprise - $30/month/user |
| Subscription | Monthly | Discounted TALA - $5/month |
Go-to-market motion2 records
Distribution channels3 records
Marketing channels6 records
Terrastruct product offering
Product offeringCore offering
Terrastruct builds D2 Studio, a collaborative web IDE for software architecture diagrams that uniquely combines drag-and-drop GUI editing with a text-to-diagram DSL, enabling bidirectional synchronization between visual and code representations. The D2 language is open-sourced under MPL 2.0 and the proprietary TALA layout engine powers automatic, professional-grade diagram layout. Subscriptions are sold per user per month at $20 (Bundle) and $30 (Enterprise) tiers.
Product overview
Terrastruct offers a platform-plus-modules architecture centered on D2 Studio, a collaborative web IDE for diagramming, paired with D2, a text-to-diagram domain-specific language. TALA (Terrastruct's AutoLayout Approach) is a proprietary layout engine that powers automatic diagram layout. The platform is available in two pricing tiers: the Terrastruct Bundle ($20/month/user) for individuals and small teams, and Enterprise ($30/month/user) for larger teams requiring SSO, audit trails, and custom integrations. Official plugins extend the ecosystem to VSCode, Vim, Obsidian, Slack, and Confluence, while the D2 language itself is free and open-source under MPL 2.0.
Differentiator
Problem solved
Functional benefit
Brands
- D2: A modern, open-source DSL (Domain Specific Language) designed specifically for software architecture diagrams
- D2 Studio
- TALA
- D2lang
Products and services
- D2 Studio A collaborative web IDE for software architecture diagrams that uniquely supports both drag-and-drop and text-to-diagram authoring, allowing users to create free-form and structured diagrams in one tool with bidirectional editing, multi-layered diagrams with layers and scenarios, GUI and IDE modes. Sold as a per-user monthly subscription targeting engineering teams and developers.
- D2 A modern, open-source domain-specific language (DSL) designed specifically for software architecture diagrams, enabling text-to-diagram creation with simple syntax that can be learned in minutes. Licensed under Mozilla Public License 2.0 and freely available for download.
- TALA (Terrastruct's AutoLayout Approach) A custom diagram layout engine built from scratch with zero dependencies, specifically designed for software architecture diagrams. Features orthogonal pathing, container-aware layout, and automatic cluster/hierarchy detection. Available as a standalone license bundled with Terrastruct subscriptions for local/offline use, with a discounted $5/month license for students, researchers, non-profits, and open-source maintainers.
Quantifiable outcome
- Syntax learnable in minutes
- +2 more outcomes
Companies that use Terrastruct
Customer profileNamed customers9 records
Segments3 records
Ideal customer profiles2 records
Terrastruct technology and API
TechnologyTechnology focussed Yes
API detail
- Has API
- No
- API docs
- API detail
Core technology
AI maturity
App detail
Integration15 records
AI capability4 records
Feature6 records
Terrastruct partnerships and signals
Strategic signalPartnerships
Seven partnerships are on record, tiered core.
- GitHubcoreOAuth authentication and repository integration. GitHub Sync feature automatically pushes diagram changes to GitHub repositories.
- VSCodecoreOfficial VSCode extension provides syntax highlighting for D2 files in Visual Studio Code.
- VimcoreOfficial Vim plugin for D2 file syntax highlighting.
- GooglecoreOAuth authentication for user profile information and authentication tokens.
- WorkOScoreSingle Sign-On (SSO) authentication for enterprise users, processing user profile information and authentication data.
- Google Cloud PlatformcoreCloud infrastructure provider for D2 Studio - cloud storage, autolayout processing via TALA, and reCAPTCHA verification.
- StripecorePayment processing, subscription management, and billing for transaction data and payment information.
Scale indicators2 records
Recent moves6 records
Expansion highlights6 records
Terrastruct competitors and assessment
Company assessmentDirect peers
- Mermaid: Open-source text-to-diagram tool widely used in developer documentation, natively integrated into GitHub Markdown rendering. Directly competes with D2 for software architecture diagram use cases among developers.
- Eraser.io: Diagram-as-code platform purpose-built for engineering teams to create technical diagrams and system documentation. Most direct head-to-head competitor in the developer-focused diagramming category.
- PlantUML: Long-standing open-source text-to-diagram tool popular with software engineers for UML, sequence, and architecture diagrams. Competes for the same developer-driven, code-based documentation workflows as D2.
- Structurizr: Tooling for the C4 model of software architecture diagramming, with DSL-based definitions. Direct overlap with Terrastruct's software architecture focus; notably, Structurizr has a community exporter plugin for D2.
- draw.io (diagrams.net): Free, widely-used general-purpose diagramming tool with strong developer adoption. Frequently compared against D2 Studio and competes for the same software architecture documentation use cases.
- Graphviz: Classic open-source text-to-diagram engine using the DOT language. Predecessor in the text-to-diagram category and a frequent comparison point for developers evaluating D2.
Broad incumbents
- Lucidchart: Market-leading general-purpose visual collaboration platform used across business functions. Competes with D2 Studio in enterprise settings, though it lacks the developer-native DSL experience.
- Miro: Massive collaborative whiteboard platform with diagramming capabilities. Overlaps with D2 Studio for visual documentation but is horizontal across all functions, not developer-specific.
- Microsoft Visio: Legacy enterprise diagramming standard from Microsoft. Bundled into Microsoft 365 and an entrenched incumbent in IT/architecture documentation workflows that Terrastruct displaces in modern stacks.
Emerging players
- Excalidraw: Open-source hand-drawn-style whiteboard tool popular with developers for sketching system diagrams. Overlaps with Terrastruct's hand-drawn style option and competes for casual developer diagramming.
Market position
Strengths5 records
Weaknesses5 records
Competitive moat4 records
Key risks5 records
Key highlights7 records
Customer concentration
Terrastruct social profiles
Digital presenceTerrastruct compliance and trust
Trust signalCompliance1 record
Terrastruct financial estimates
Financial estimateRevenue estimate
Valuation estimate
Terrastruct leadership team
Management profileNumber of profiles
Profiles1 record
Terrastruct funding detail
Funding detailFunding overview
Funding rounds
Investors
Funding detail is available on the Subscription and Enterprise plan.Contact sales →
Terrastruct M&A and investment
M&A and investmentM&A
Investments
M&A and investment is available on the Subscription and Enterprise plan.Contact sales →
Frequently asked questions about Terrastruct
What does Terrastruct do?
Terrastruct builds D2 Studio, a collaborative web IDE for software architecture diagrams that uniquely combines drag-and-drop GUI editing with a text-to-diagram DSL, enabling bidirectional synchronization between visual and code representations. The D2 language is open-sourced under MPL 2.0 and the proprietary TALA layout engine powers automatic, professional-grade diagram layout. Subscriptions are sold per user per month at $20 (Bundle) and $30 (Enterprise) tiers.
Is Terrastruct a public or private company?
Terrastruct is a private company. It is classified as venture growth investor backed and is currently operating.
When was Terrastruct founded?
Terrastruct was founded in 2019. It employs 1 to 10 people.
Where is Terrastruct based?
Terrastruct is headquartered in San Francisco, United States, in the North America region.
How does Terrastruct make money?
Three revenue lines are on record. D2 Studio Subscription (Bundle) is the primary driver. The others are D2 Studio Enterprise Subscription and TALA Standalone License.
Who are Terrastruct's main competitors?
Direct peers on record are Mermaid, Eraser.io, PlantUML, Structurizr, draw.io (diagrams.net) and Graphviz. Broad incumbents are Lucidchart, Miro and Microsoft Visio. Excalidraw is listed as an emerging player.
Does Terrastruct have an API?
No public API is recorded for Terrastruct.
What industry is Terrastruct in?
Terrastruct's product category is Developer Documentation Software. Its primary akta.pro industry code is HDAEAKAI, Developer Experience Platforms for Enterprise (IDEs, CI/CD, Dev Portals). Its NAICS code is 5132 and its SIC code is 7372.