Hacker News new | ask | show | jobs
by tanaylakhani 449 days ago
I just released Lexical JSON Converter, an open-source tool for working with Facebook's Lexical Editor format. If you use Lexical Editor in your projects, you might find this useful.

What it does:

- Converts Lexical JSON to HTML - Converts Lexical JSON to plain text - Generates images from Lexical JSON (preview functionality) - Provides a clean, simple interface for testing your Lexical content

Why I built it:

Working with Lexical Editor's JSON format can be challenging, and I wanted a simple way to visualize and convert the output. This tool makes debugging and integrating Lexical into your projects much easier. I also needed an API to convert lexical JSON to an image screenshot

Tech Stack: Built with ExpressJS and Typescript.

The tool is completely free and open source. You can try it out at https://convert-lexical-json.vercel.app/ or check out the GitHub repo to contribute or self-host.

Looking forward to your feedback and any feature suggestions!