使用方法
- 將 JavaScript、TypeScript 或任何文字貼到代碼輸入中。
- Read the raw UTF-8 byte size displayed instantly below。
- Compare the gzip and brotli estimates to understand the likely transfer size over HTTP。
- Check the entropy value (bits per character) — lower entropy means the text is more compressible。
範例
- A 500-byte React component shows roughly 280 bytes gzip and 240 bytes brotli estimated, about 44% compression。
- Pasting minified JSON with repeated keys shows higher entropy and smaller compression gains compared to readable source code。