AI ToolsFree
AI Text Summarizer
Paste any long text and get a concise, accurate summary powered by Claude AI. Choose bullet points or paragraph format. Works on articles, research papers, emails, and documents.
API Setup Required
AI tools need a backend API route to work. This prevents CORS errors from calling Anthropic directly from the browser.
Quick Setup (3 steps)
1
Create API route
app/api/ai/route.ts2
Add your API key
.env.local → ANTHROPIC_API_KEY=sk-ant-...3
Enable in component
AIToolBase.tsx → AI_ENABLED = trueapp/api/ai/route.tsCopy & paste
import Anthropic from "@anthropic-ai/sdk";
import { NextRequest, NextResponse } from "next/server";
const client = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY,
});
export async function POST(req: NextRequest) {
const { system, prompt } = await req.json();
const msg = await client.messages.create({
model: "claude-sonnet-4-20250514",
max_tokens: 1024,
system,
messages: [{ role: "user", content: prompt }],
});
const text = msg.content[0].type === "text"
? msg.content[0].text : "";
return NextResponse.json({ text });
}npm install @anthropic-ai/sdk
Frequently Asked Questions
How does the AI summarizer work?▼
It uses Claude AI to read your text and generate a concise summary capturing the key points.
What types of text can I summarize?▼
Articles, research papers, emails, reports, blog posts, and any other text content.