2026-01-29 03:22:21 +08:00
# 📊 Export to Excel
2026-03-16 01:21:11 +08:00
| By [Fu-Jie ](https://github.com/Fu-Jie ) · v0.3.7 | [⭐ Star this repo ](https://github.com/Fu-Jie/openwebui-extensions ) |
| :--- | ---: |
2026-03-16 01:49:58 +08:00
|  |  |  |  |  |  |  |
2026-03-16 01:21:11 +08:00
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
2026-01-29 03:22:21 +08:00
Export chat history to an Excel (.xlsx) file directly from the chat interface.
2026-03-16 17:22:24 +08:00
## Install with Batch Install Plugins
If you already use [Batch Install Plugins from GitHub ](https://github.com/Fu-Jie/openwebui-extensions/tree/main/plugins/tools/batch-install-plugins ), you can install or update this plugin with:
```text
Install plugin from Fu-Jie/openwebui-extensions
```
When the selection dialog opens, search for this plugin, check it, and continue.
> [!IMPORTANT]
> If the official OpenWebUI Community version is already installed, remove it first. After that, Batch Install Plugins can keep this plugin updated in future runs.
2026-01-29 03:22:21 +08:00
## 🔥 What's New in v0.3.6
- **OpenWebUI-Style Theme**: Modern dark header (#1f2937 ) with light gray zebra striping for better readability.
- **Zebra Striping**: Alternating row colors (#ffffff / #f3f4f6 ) for improved visual scanning.
- **Smart Data Type Conversion**: Automatically converts columns to numeric or datetime types with fallback to string.
- **Full Cell Bold/Italic**: Supports full cell Markdown bold (`**text**` ) and italic (`*text*` ) formatting in Excel.
- **Partial Markdown Cleanup**: Removes partial Markdown formatting symbols for cleaner Excel output.
- **Export Scope**: Added `EXPORT_SCOPE` to choose between the last message or all messages.
- **Smart Sheet Naming**: Names sheets based on Markdown headers, AI titles, or message index.
- **Multiple Tables Support**: Improved handling of multiple tables across messages.
- **Smart Filename Generation**: Supports filenames based on chat title, AI summary, or Markdown headers.
- **Configuration Options**: Added `TITLE_SOURCE` to control filename strategy.
- **AI Title Generation**: Added `MODEL_ID` to use AI for filename generation with progress notifications.
## ✨ Core Features
- 🚀 **One-Click Export ** : Adds an “Export to Excel” action button to the chat.
- 🧠 **Automatic Header Extraction ** : Intelligently identifies table headers from chat content.
- 📊 **Multi-Table Support ** : Handles multiple tables within a single chat session.
## 🚀 How to Use
1. **Install ** : Search for “Export to Excel” in the Open WebUI Community and install.
2. **Trigger ** : In any chat, click the “Export to Excel” action button.
3. **Download ** : The .xlsx file will be automatically downloaded.
## ⚙️ Configuration (Valves)
| Parameter | Default | Description |
| :--- | :--- | :--- |
| `TITLE_SOURCE` | `chat_title` | Filename source: `chat_title` , `ai_generated` , or `markdown_title` . |
| `EXPORT_SCOPE` | `last_message` | Export scope: `last_message` or `all_messages` . |
| `MODEL_ID` | `""` | Model ID for AI title generation. Empty uses current chat model. |
| `SHOW_STATUS` | `True` | Show operation status updates. |
| `SHOW_DEBUG_LOG` | `False` | Print debug logs in the browser console (F12). |
## ⭐ Support
2026-02-13 11:10:48 +08:00
If this plugin has been useful, a star on [OpenWebUI Extensions ](https://github.com/Fu-Jie/openwebui-extensions ) is a big motivation for me. Thank you for the support.
2026-01-29 03:22:21 +08:00
## Troubleshooting ❓
- **Plugin not working?**: Check if the filter/action is enabled in the model settings.
- **Debug Logs**: Enable `SHOW_STATUS` and check the browser console (F12) if needed.
- **Error Messages**: If you see an error, please copy the full error message and report it.
2026-02-13 11:10:48 +08:00
- **Submit an Issue**: If you encounter any problems, please submit an issue on GitHub: [OpenWebUI Extensions Issues ](https://github.com/Fu-Jie/openwebui-extensions/issues )
2026-01-29 03:22:21 +08:00
## Changelog
2026-02-13 11:10:48 +08:00
See the full history on GitHub: [OpenWebUI Extensions ](https://github.com/Fu-Jie/openwebui-extensions )# Export to Excel
2025-12-20 12:34:49 +08:00
This plugin allows you to export your chat history to an Excel (.xlsx) file directly from the chat interface.
2026-01-03 17:57:27 +08:00
## What's New in v0.3.6
- **OpenWebUI-Style Theme**: Modern dark header (#1f2937 ) with light gray zebra striping for better readability.
- **Zebra Striping**: Alternating row colors (#ffffff / #f3f4f6 ) for improved visual scanning.
- **Smart Data Type Conversion**: Automatically converts columns to numeric or datetime types with fallback to string.
- **Full Cell Bold/Italic**: Supports full cell Markdown bold (`**text**` ) and italic (`*text*` ) formatting in Excel.
- **Partial Markdown Cleanup**: Automatically removes partial Markdown formatting symbols (e.g., `Some **bold** text` → `Some bold text` ) for cleaner Excel output.
2026-01-03 13:15:13 +08:00
- **Export Scope**: Added `EXPORT_SCOPE` valve to choose between exporting tables from the "Last Message" (default) or "All Messages".
- **Smart Sheet Naming**: Automatically names sheets based on Markdown headers, AI titles (if enabled), or message index (e.g., `Msg1-Tab1` ).
- **Multiple Tables Support**: Improved handling of multiple tables within single or multiple messages.
2026-01-03 17:57:27 +08:00
- **Smart Filename Generation**: Supports generating filenames based on Chat Title, AI Summary, or Markdown Headers.
2026-01-03 12:37:05 +08:00
- **Configuration Options**: Added `TITLE_SOURCE` setting to control filename generation strategy.
2026-01-03 17:57:27 +08:00
- **AI Title Generation**: Added `MODEL_ID` setting to specify the model for AI title generation, with progress notifications.
2026-01-03 12:37:05 +08:00
2025-12-20 12:34:49 +08:00
## Features
- **One-Click Export**: Adds an "Export to Excel" button to the chat.
- **Automatic Header Extraction**: Intelligently identifies table headers from the chat content.
- **Multi-Table Support**: Handles multiple tables within a single chat session.
2026-01-03 12:37:05 +08:00
## Configuration
- **Title Source**: Choose how the filename is generated:
- `chat_title` : Use the chat title (default).
- `ai_generated` : Use AI to generate a concise title from the content.
- `markdown_title` : Extract the first H1/H2 header from the markdown content.
2025-12-20 12:34:49 +08:00
## Usage
1. Install the plugin.
2. In any chat, click the "Export to Excel" button.
3. The file will be automatically downloaded to your device.
2025-12-30 12:44:55 +08:00
## Author
Fu-Jie
2026-02-13 11:10:48 +08:00
GitHub: [Fu-Jie/openwebui-extensions ](https://github.com/Fu-Jie/openwebui-extensions )
2025-12-30 12:44:55 +08:00
## License
MIT License