Skip to main content
Cookie preferences

We use analytics cookies to understand usage and improve CleanTextLab. You can accept or decline Privacy policy. Manage preferences.

HomeReact SDK

React SDK

Build custom text processing UIs with our production-ready React starter kit. MIT licensed, open source, and ready to deploy.

🚀 Clone & Run in 60 Seconds

Copy-paste these commands to get the React SDK running locally

# Clone and setup React SDK
git clone https://github.com/gravitasse/cleantextlab-react-sdk.git
cd cleantextlab-react-sdk
npm install
cp .env.local.template .env.local
# Add your API key to .env.local: VITE_CLEANTEXTLAB_API_KEY=ctl_live_YOUR_KEY
npm run dev
# Opens at http://localhost:5173
Replace YOUR_KEY with your actual API key from Settings

What's Included

30+ Pre-Built Tools

JSON formatter, CSV converter, email extractor, and more

Smart Content Detection

Magic Input suggests tools based on pasted content

TypeScript API Client

Fully typed API integration with error handling

Modern Stack

React 18, Vite, Tailwind CSS, TypeScript

Use Cases

White-Label Internal Tools

Deploy your own branded version of CleanTextLab for your team with custom styling and features.

Custom Workflows

Build industry-specific text processing workflows by combining tools in new ways.

Learning & Experimentation

Use as a reference implementation for building React apps with API integrations.

Tech Stack

React 18
UI Framework
Vite
Build Tool
TypeScript
Type Safety
Tailwind
Styling

License

The React SDK is licensed under the MIT License. You are free to use it in private projects, commercial products, or modify it however you need.

✓ Commercial Use✓ Modification✓ Distribution✓ Private Use

Ready to Build?

Clone the repository and have a working text processing app running in under 5 minutes.

React SDK | CleanTextLab