Write, attach, and paste.
Give your AI the context.

One input for text and files. Turn PDFs, Word documents, CSV, and Markdown into text your model can use, with previews before sending.

Try it hereRuns in your browser
Examples

A real Texion input. No AI request. Files stay here.

Markdown · TXT · JSON · CSV · PDF · DOCX · Images

Built to work together.

File inputs, without the loose ends.

report.pdfYour draft stays here.

No more half-working uploads.

Users remove a file mid-processing and it cancels. Late results stay out of the draft.

Explore file handling
YOUR BROWSERFileText

No upload server needed to read a file.

Extraction runs in the browser. Your app chooses what gets sent to your backend.

See how it works
PDFDOCXCSVdocumenttextstatusmetadata

No six parsers to wire up.

Every supported file becomes one predictable document object. Build one attachment list for every format.

See supported formats
SOURCE<script>PREVIEW

No scary previews.

Raw HTML and dangerous links are blocked by default. Preview extracted content before sending.

Read the safeguards
ATTACHMENTSnotes.txtreport.pdfWait → sendWhen ready

No accidental sends.

Submit waits for files still processing and refuses stale or unready input.

See the submission API

Start building.

Install. Connect. Make it yours.

Source and attachments. One submission.

npm install @texion/react
composer.tsxReact · TSX
import { TexionInput } from '@texion/react';
import '@texion/react/styles.css';

<TexionInput
  preview
  onSubmit={({ content, attachments }) => {
    save(content, attachments);
  }}
/>
See the setup