Paste. Explore. Understand.
JLens is a modern, privacy-focused universal data explorer designed for developers who value clarity and precision. Built with a "Zero-Setup" philosophy, it offers a client-side only environment to validate, visualize, and manipulate data securely.
JLens is no longer just for JSON. It automatically detects and visualizes a wide range of formats:
- Data: JSON, YAML, XML, TOML, CSV, INI, ENV
- Documents: Markdown (with GFM support), HTML (safe preview)
- Code: SQL (syntax highlighting)
- Robust formatting: "Format" and "Minify" buttons work even on invalid/loose input.
- Experimental Repair: Automatically fixes common YAML indentation errors (e.g., nested fields under scalar values).
- Auto-detection: Intelligent heuristics for discerning loose YAML, ENV files, and Markdown.
-
Interactive Tree: Deeply nested structures are easy to navigate with expand/collapse controls.
-
Advanced Search:
- Deep Matching: Search keys and values across the entire JSON tree.
- Focus Mode: Automatically scrolls to and highlights the matching line.
- Navigation: Jump between matches with keyboard shortcuts (Enter / Shift+Enter).
-
Type Awareness: distinct visual indicators for Strings, Numbers, Booleans, Nulls, and Objects.
-
Export: Download your data as a file or copy to clipboard instantly.
-
Privacy First: Fully client-side. No API calls, no tracking, no backend.
- Refined Aesthetic: Clean, distraction-free interface using
shadcn/uiprinciples. - Theme Sync: Automatic Dark/Light mode switching based on system preference.
- Responsive Layout: Resizable split-pane view for optimal workspace management.
- Framework: React 19 + TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS 3
- Parsers:
yaml,smol-toml,fast-xml-parser,papaparse,ini - Architecture: Modular Feature-Sliced structure
- Node.js (v18 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/taoshan98/JLens.git cd JLens -
Install dependencies:
npm install
-
Start the development server:
npm run dev
Open http://localhost:5173 in your browser.
This project is configured for static deployment. The base path is set to relative (./) to support any hosting subdirectory.
-
Build the project:
npm run build
-
Deploy the
distfolder to your static host (GitHub Pages, Vercel, Netlify).
This project is licensed under the MIT License - see the LICENSE file for details.