MiCompress for VS Code
Compress images, PDFs, video, audio, documents & archives without leaving your editor.
Powered by micompress.com.
Right‑click any supported file → Compress with MiCompress. The file is optimized by the
MiCompress engine and written back next to the original — no local tools to install.
Features
- Right‑click to compress in the Explorer, or run “Compress with MiCompress” from the
Command Palette / editor tab.
- Batch: select several files and compress them all at once.
- Presets:
lossless, recommended, extreme.
- Flexible output: write a
-min copy, overwrite in place, or pick a location.
- Optional max‑width downscaling for images.
Usage
- Right‑click an image / PDF / video / doc in the Explorer.
- Choose Compress with MiCompress.
- A
name-min.ext appears next to it — see the size saved in the notification.
Settings
| Setting |
Default |
Description |
micompress.preset |
recommended |
lossless · recommended · extreme |
micompress.outputMode |
suffix |
suffix (-min) · overwrite · ask |
micompress.maxWidth |
0 |
Resize images to a max width (0 = off) |
micompress.apiBase |
https://micompress.com |
API base URL |
micompress.apiKey |
"" |
Personal API key from micompress.com/account |
micompress.token |
"" |
Legacy login token — prefer micompress.apiKey |
API key
Anonymous use works without a key, within per‑type size limits. For bigger files, sign in
(free) at https://micompress.com/account, copy your key (mc_…) and paste it into
Settings → MiCompress: Api Key (micompress.apiKey). It is a user‑level setting, so it
can't end up in a project's .vscode/settings.json.
With a key, files up to 100 MB are accepted. A free account includes 50
compressions/month through the API; Plus ($9.99/mo) includes 1,000/month and Pro
($19.99/mo) 5,000/month, shared with website usage. When the allowance runs out you'll see
API_QUOTA_REACHED (free) or USAGE_LIMIT_REACHED (paid) — see
https://micompress.com/plans.
Image (jpg, png, webp, gif, tiff, avif, svg, heic, psd, raw…), PDF & Office docs
(pdf, docx, xlsx, pptx…), video (mp4, mov, mkv, webm…), audio (mp3, wav, flac…),
archives (zip, 7z, tar, gz). Full list: https://micompress.com/all-tools
Privacy
Files are uploaded over HTTPS to micompress.com for compression and
streamed back. Anonymous use is supported within per‑type size limits; set micompress.apiKey
for larger files.
Requirements
VS Code 1.85+.
License
MIT © MiCompress
Need a web UI, more formats, or bigger batches?
Visit micompress.com.