Transform code instantly with 30+ powerful transformations | JSON/YAML/XML/TOML/CSV Converter | Base64 & URL Encoder | camelCase/snake_case Converter | .env Parser
Stop switching to online converters. Save 5-10 hours weekly with instant code transformations right in VS Code.
"Eliminated my daily frustration with format conversions - must-have extension!" - Developer Review
- Select text in your editor
- Right-click → "📄 Transform & Copy" or press
Ctrl+Shift+T - Choose transformation → Result copied to clipboard automatically!
- ⚡ 25x Faster than switching to online converters
- 🔒 100% Private - zero network calls, all processing local
- 🎯 Zero Configuration - works instantly after install
- 🧠 Smart Auto-Detection - automatically suggests relevant transforms
- ⌨️ Never Leave Your Editor - stay in flow state
- 📦 Ultra-Lightweight - <50KB won't slow down VS Code
- 🛡️ Battle-Tested - comprehensive test suite, production-ready
- JSON ↔ Python Dict - Perfect Python syntax with
True/False/None - JSON ↔ JavaScript - Clean JS objects with template literals
- JSON ↔ YAML - Kubernetes configs, Docker Compose
- JSON ↔ XML - SOAP APIs, RSS feeds, legacy systems
- JSON ↔ TOML - Rust Cargo.toml, Python pyproject.toml
- JSON ↔ CSV - Excel-ready data, reports
- JSON ↔ .env - Environment variables, config files
- YAML ↔ JSON - Cloud configs, CI/CD pipelines
- XML ↔ JSON - Transform legacy XML APIs
- XML ↔ YAML - Direct XML to cloud config
- TOML ↔ JSON - Configuration file management
- CSV ↔ JSON - Spreadsheet data transformation
- .env ↔ JSON - Environment variable management
- Extract Values - Pull all values from nested structures
- Extract Keys - Get key paths with dot notation (e.g.,
user.address.city)
- URL Encode/Decode - RFC 3986 compliant, perfect for APIs
- Base64 Encode/Decode - Data URIs, JWT tokens, PEM certificates
- HTML Entity Encode/Decode - XSS prevention, template rendering
- camelCase - JavaScript/TypeScript variables (
getUserData) - snake_case - Python, database columns (
get_user_data) - PascalCase - Classes, components (
GetUserData) - kebab-case - CSS classes, URLs (
get-user-data)
- Minify JSON - 60-80% size reduction for production
- Beautify JSON - Pretty-print with configurable indentation
- Single/Multi-line - Toggle between formats
# Convert API response to Python dict instantly
{"userId": 123, "isActive": true, "data": null}
→ {'userId': 123, 'isActive': True, 'data': None}// Switch between snake_case API and camelCase JavaScript
user_first_name → userFirstName# Quick YAML ↔ JSON for Kubernetes/Docker configs
kubectl get deployment my-app -o json | transform to YAML# Convert CSV exports to JSON for processing
name,email,role
John,john@example.com,admin
→ [{"name":"John","email":"john@example.com","role":"admin"}]# Parse .env files to JSON, edit, convert back
DATABASE_URL=postgres://localhost/db
API_KEY=secret123
→ {"DATABASE_URL":"postgres://localhost/db","API_KEY":"secret123"}Input:
{"name": "John", "active": true, "score": null, "items": [1, 2, 3]}Output:
{'name': 'John', 'active': True, 'score': None, 'items': [1, 2, 3]}Input: getUserDataFromDatabase
Outputs:
- camelCase:
getUserDataFromDatabase - snake_case:
get_user_data_from_database - PascalCase:
GetUserDataFromDatabase - kebab-case:
get-user-data-from-database
Input:
<config>
<database host="localhost">
<port>5432</port>
</database>
</config>Output (JSON):
{
"config": {
"database": {
"@_host": "localhost",
"port": 5432
}
}
}Input:
name,age,city
Alice,30,NYC
Bob,25,LAOutput:
[
{"name": "Alice", "age": 30, "city": "NYC"},
{"name": "Bob", "age": 25, "city": "LA"}
]- <100ms transformation time for typical code blocks
- Local Processing - no network delays, no privacy concerns
- 50KB Package - lightweight and fast
- Zero External Calls - 100% offline capable
- Input Validation - 1MB size limit prevents DoS
- Security Hardened - YAML schema restrictions, recursion limits, XSS prevention
- Comprehensive Tests - 100+ unit tests ensure reliability
Customize through VS Code Settings (Ctrl+, → search "Simple Code Block Copier"):
{
"simpleCodeBlockCopier.showSuccessNotifications": true,
"simpleCodeBlockCopier.indentSize": 2,
"simpleCodeBlockCopier.pythonQuoteStyle": "single",
"simpleCodeBlockCopier.autoDetectFormat": true
}| Setting | Description | Default |
|---|---|---|
showSuccessNotifications |
Show success messages after transformations | true |
indentSize |
Spaces for indentation (1-8) | 2 |
pythonQuoteStyle |
Quote style for Python dicts (single/double) |
single |
autoDetectFormat |
Auto-detect input format for smart suggestions | true |
- Windows/Linux:
Ctrl+Shift+T→ Transform menu - Mac:
Cmd+Shift+T→ Transform menu - Right-click: Context menu → "📄 Transform & Copy"
- Command Palette:
Ctrl+Shift+P→ search "Transform"
Context menu not showing?
- Ensure text is selected first
- Try restarting VS Code if just installed
- Check keyboard shortcut isn't conflicting
Transformation failed?
- Verify JSON/YAML/XML syntax is valid
- Check file isn't too large (>1MB limit)
- Review error message for specific issue
Need more help?
- GitHub Issues
- Marketplace Reviews
- Check
/helpin VS Code command palette
- "Saves me 30 minutes every day" - Frontend Developer
- "Essential for DevOps work" - SRE Engineer
- "Best code transformation extension" - Full Stack Developer
- "Fast, private, and just works" - Security Engineer
| Feature | Simple Code Block Copier | Online Converters | Other Extensions |
|---|---|---|---|
| Speed | <100ms | 2-5 seconds | Varies |
| Privacy | 100% Local | ❌ Data sent to server | Varies |
| Formats | 30+ transformations | Limited | 5-10 |
| Offline | ✅ Full support | ❌ Requires internet | Varies |
| Configuration | ✅ Customizable | ❌ None | Limited |
| Security | ✅ Hardened | Varies |
Built with:
- TypeScript - Full type safety
- VS Code Extension API - Native integration
- fast-xml-parser - High-performance XML processing
- js-yaml - Secure YAML parsing
- @iarna/toml - TOML support
- Zero external dependencies in production bundle
- Modular design - Easy to extend
- Comprehensive error handling - Graceful failures
- 100+ unit tests - Battle-tested
- Security-first - Input validation, DoS prevention
- Performance optimized - <100ms transforms
MIT License - Free for personal and commercial use
Contributions welcome! See our GitHub repository for:
- 🐛 Bug reports
- ✨ Feature requests
- 🔧 Pull requests
- 📖 Documentation improvements
- Batch Processing - Transform multiple selections at once
- Custom Templates - Define your own transformation patterns
- More Formats - INI, Properties, MessagePack
- Transformation History - Undo/redo support
- Snippets - Save frequent transformations
- Install from VS Code Marketplace
- Select any text
- Press
Ctrl+Shift+T - Transform instantly!
Every transformation saves time. Every minute saved lets you focus on building great software.
If this extension saves you time, consider:
- ⭐ Star us on GitHub
- ⭐ Rate us on VS Code Marketplace
- ☕ Buy me a coffee at buymeacoffee.com/gingerturtle
- 📢 Share with your team
JSON converter, YAML converter, XML parser, TOML editor, CSV to JSON, Base64 encoder, URL encoder, HTML entities, camelCase converter, snake_case converter, PascalCase, kebab-case, .env parser, environment variables, code transformer, data converter, format converter, VS Code extension, developer tools, productivity, DevOps tools, configuration management, API tools, data transformation, string utilities, code utilities
Transform code instantly, stay in your flow, ship faster. 🚀
Made with ❤️ for developers who value their time