Smart Optimizer - Rule-Based Text Compression
Optimize AI prompts and reference documents using customizable compression rules
Processing large document...
Original Tokens
0
Optimized Tokens
0
Token Reduction
0%
Character Reduction
0%
Optimization Results
Before
After
Markdown Renderer
Render Markdown to HTML, preview formatting, and export to Word.
Markdown formatting guide
Quick reference for common Markdown formatting.
Headings
# Heading 1
## Heading 2
Emphasis
**Bold** *Italic* ***Bold Italic***
Lists
- Item
1. Numbered
Task Lists
- [ ] Todo
- [x] Done
Links
[Label](https://example.com)
Code
`inline` and
```js
console.log('code')
```
Quotes
> Blockquote
Tables
| Col | Col |
| --- | --- |
| A | B |
Images

Horizontal Rule
---
Strikethrough
~~Removed~~
Footnotes
Note[^1]
[^1]: Source
Markdown Input
Write or paste your Markdown source.
Supports GitHub-flavored Markdown, task lists, tables, and fenced code blocks.
Rendered Preview
Updates automatically as you type.
Using basic renderer (markdown-it not available). Tables and advanced Markdown may look simpler.
Token Estimator
Estimate token usage for AI models based on character count
Estimated Tokens
0
Characters
0
Advanced Settings ▼
Tip: English text averages 4.0–5.1 characters per token. Code or technical content may have different ratios.
File Concatenator
File Concatenator
- Merge multiple files into a single output for easy LLM context and file attachment, even when file attachments are not supported.
- Each file is wrapped in XML tags based on its filename (spaces -> underscores):
<my_document_txt>...content...</my_document_txt> - Supported formats: CSV, TXT, MD, DOCX, XLSX/XLS, PDF, PPTX, RTF, ODT, ODS, ODP, EML
- Note: RTF/ODT/ODS/ODP/EML parsing is best-effort; complex formatting, embedded objects, or attachments may be simplified.
No files selected
Re-concatenate to apply whitespace minimization changes.
Estimated Tokens: 0
Without Whitespace Minimization: 0 (0% more tokens)