Structure Viewer
See inside any plugin or theme — and hand your AI the whole map.
Structure Viewer is a WordPress file explorer and AI context builder for developers — browse, inspect, view source code, and export the complete file structure of any installed plugin or theme, directly from your WordPress admin dashboard.
No FTP, no cPanel, no server access needed. Open any file, read its source with syntax highlighting, search across your entire codebase, and export the full file tree as TXT, JSON, XML, PDF, or clipboard copy — all without leaving WordPress.
And if you work with any AI coding tool — ChatGPT, Claude, Cursor, Copilot, Gemini, or anything else — Structure Viewer is the missing first step. Export your plugin's complete structure as ready-to-use AI context in one click, and give your AI the full codebase map before you ask it anything.
- 5 formats
- TXT · JSON · XML · PDF · Clipboard
- Read-only
- Can't modify or delete files
- Admin-only
- manage_options capability
- Zero frontend
- No impact on your site
Features
Everything, from tree to export
Built for AI-assisted development
Your AI works better when it has structural context. Structure Viewer is designed for exactly that workflow.
- Tree-format exports purpose-built for LLM context windows — clean ASCII, no markdown noise, token-efficient
- Works with any AI tool — ChatGPT, Claude, Cursor, Copilot, Gemini, Perplexity, or any other assistant
- One-click clipboard copy — emoji tree format that pastes into any AI chat with perfect alignment
- Filter before you export — exclude node_modules, vendor, build artifacts, or anything bloating your context
- Read source inline — open any file in the browser modal and copy the snippet you need
- Auto-redact secrets — opt-in masking of API keys, tokens, and credentials before content leaves the server
- WP-CLI exports — script structure dumps directly into your AI agent's working directory
File Explorer
See exactly what is inside every plugin and theme.
- Interactive tree view — expandable folders with icons for every file type
- Searchable item picker — switch between All Plugins, individual plugins, All Themes, and individual themes instantly
- Live tree search — type to filter files in real time, jump between matches with next/prev navigation
- All-mode filter — search filters the plugin or theme list by name so you find the one you want fast
- File type tag strip — one click to show only PHP, only CSS, only images
- File size and modification dates — see when each file was last changed
- Recently Viewed panel — jump back to any file or folder you've opened
File Viewer
Click any file to read it right there in your browser.
- Inline modal with syntax highlighting for all common languages
- File metadata: size, line count, last modified timestamp
- Auto-redact secrets badge — shown when redaction is active
- Fullscreen mode for reading long files
- One-click download with correct MIME type and original filename
Search
Find any file across your entire plugin or theme in seconds.
- Real-time search — results appear as you type, no page reloads
- Extension search — prefix with a dot to filter by type: .php, .js, .css, .json
- File type dropdown for quick narrowing
- Results show full relative path, file size, and last modified date
Export
Share or document your plugin structures in any format.
- TXT — clean ASCII tree, perfect for documentation, tickets, and AI context windows
- JSON — nested structure with file sizes and timestamps for programmatic use
- XML — standardized hierarchical format
- PDF — formatted document with header, page numbers, and automatic page breaks
- Clipboard — one-click emoji tree copy for pasting into Slack, Notion, or GitHub
Dashboard
Your WordPress file ecosystem at a glance.
- Stat tiles for total plugins, active/inactive split, total themes, and total files indexed
- Largest plugins table — see which plugins are heaviest with file count and size bars
- WordPress environment strip: WP version, PHP version, active theme, site URL
See it in action
Click any screenshot to enlarge.
Structure Viewer Pro
Two Pro tools for developers who go deeper
Comparator
Know exactly what changed.
- Compare two plugin ZIPs side by side
- Compare an installed plugin or theme against any uploaded ZIP
- Compare two individual files for a targeted spot-check
- Added lines in green, removed in red, changed lines clearly highlighted
- Works on large plugins and minified CSS/JS — auto-tokenizes before diffing
- Expand/collapse per-file diff blocks to focus on what matters
FlatPack
Extract only what you need.
- Upload any plugin or theme ZIP and see all its files in a live preview instantly
- Filter by PHP, CSS and JS, images, or any custom extension — preview updates live
- Only the filtered files are included in the output ZIP
- Smart collision-safe naming: duplicate basenames get a folder prefix automatically
- Download a single flat ZIP in seconds
Upgrade to Pro from within the plugin — Settings → Licence → Upgrade to Pro.
Installation
- 1
Go to Plugins → Add New in your WordPress admin.
- 2
Search for Structure Viewer.
- 3
Click Install Now, then Activate.
- 4
Navigate to Tools → Structure Viewer to start exploring.
Frequently asked questions
Structure Viewer is a WordPress developer tool that lets you browse, search, view, and export the file structure of any installed plugin or theme — directly from your WordPress admin dashboard. It is used for code audits, plugin reviews, documentation, debugging, AI-assisted development, and general development workflows.
When you prompt an AI tool like ChatGPT, Claude, Cursor, or GitHub Copilot to work on a WordPress plugin or theme, the quality of its output depends almost entirely on the context you provide.
Instead of opening files one at a time and copy-pasting code, you export the complete file tree of any plugin or theme as a single clean payload, copy it to your clipboard, and paste it into your AI prompt as ready-to-use structural context. The AI now knows what files exist and how they're organised — before you've even asked a question.
Yes — that is one of the main use cases. Use the Export tab to generate a TXT, JSON, or XML representation of any plugin or theme. The TXT format is intentionally token-efficient — clean ASCII tree, no markdown noise — so it fits cleanly inside an AI context window. You can also use one-click clipboard copy to paste an emoji tree directly into any AI chat.
When enabled in Settings → Security Settings, Structure Viewer scans any file you view or download and masks anything that looks like a credential — API keys, OAuth tokens, passwords, AWS / Stripe / GitHub / Google / Slack keys, JWTs, PEM private keys, and wp-config credential constants.
Redaction happens server-side before the content reaches your browser, so the masked file is safe to paste into any AI tool, ticket, or screenshare. The toggle is off by default.
Yes. Structure Viewer is strictly read-only — it cannot modify, delete, or upload files. Access is restricted to WordPress administrators only, and no frontend scripts or pages are added to your site. Your visitors are completely unaffected.
No. Structure Viewer works entirely through the WordPress admin interface. You do not need FTP, cPanel, SSH, or any server-level access. If you are a WordPress administrator, you have everything you need.
Yes. Switch the item picker to “All Themes” or select any individual theme to browse its complete file structure, view source files, search by filename or extension, and export the full tree in any format.
Yes. Structure Viewer Pro adds two features: Comparator (compare any two plugin or theme versions with a color-coded diff view) and FlatPack (extract and filter files from any plugin or theme ZIP by file type). The free version includes the full Explorer, Search, Export, Dashboard, and Settings. Upgrade from Settings → Licence → Upgrade to Pro.
Built by Blincks — the team behind your next website.
Tell us about your project — we'll get back to you within a day.