Clean Japanese text before sending it to an LLM
Quiet Works Lab
Normalizes messy Japanese text so that an LLM, a search index or an embedding model sees one consistent form: full-width letters and digits become half-width, half-width katakana becomes full-width, dashes and long vowel marks are unified, invisible characters and letter-spaced text are cleaned. URLs, e-mail addresses and fenced code are kept as they are. Paste your texts or choose a dataset.
Input
Output fields
Sign up on Apify or log in
The Japanese Text Normalizer & RAG Chunker Actor is ready to run with the inputs already set for "Clean Japanese text before sending it to an LLM". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Clean Japanese text before sending it to an LLM" task
The Japanese Text Normalizer & RAG Chunker Actor will start running based on the input automatically. You can also change all the input fields, like texts, to match your specific use case.
Receive the "Clean Japanese text before sending it to an LLM" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as document index, chunk index, characters, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Clean Japanese text before sending it to an LLM" task via API.

Integrate "Clean Japanese text before sending it to an LLM" into your workflow
Connect "Clean Japanese text before sending it to an LLM" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The Japanese text cleaning task turns full-width letters and digits into half-width and half-width katakana into full-width, unifies dashes and long vowel marks, removes invisible characters and joins letter-spaced words. NFKC is used only if chosen.
No. The Japanese text cleaning task keeps URLs, e-mail addresses and fenced code blocks unchanged, so links and code stay usable.
The Japanese Text Normalizer charges $0.0001 per 1,000 characters of input ($0.10 per million), counting each document as at least 100 characters, plus Apify's Actor start event.