Reverse Text API

POST

Invert any text block by character, word, or line.

Reverse Text transforms text by reversing characters, words, or lines with multiple reversal modes for different use cases.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/reversetext
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "reversed": "dlroW olleH",
    "original": "Hello World",
    "mode": "characters",
    "length": 11
  }
}

About the Reverse Text API

Handles up to 10,000 characters and provides precise control over how text content is reversed and reorganized.

What people use it for

Text Effects
Create reversed text effects for creative content and visual designs
String Manipulation
Reverse strings for data processing and algorithm testing
Content Transformation
Transform text content with different reversal modes for specific formatting needs
Data Processing
Process and reverse text data for analysis and transformation tasks

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Reverse Text

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Reverse Text API.

Read the docs
Can I reverse word order without scrambling individual words?
Yes. You can reverse text strictly by words, which keeps the spelling of each individual word intact while inverting their order. You can also reverse character by character or line by line.
What is the maximum length of text I can process at once?
You can send up to 10,000 characters in a single request. The service will transform the entire submitted string according to the reversal mode you pick.
Can I reorder lines of text from bottom to top?
Yes. Line reversal mode changes the sequence of lines while preserving the content of each line as-is. This is useful for reordering multiline logs, transcripts, or lists.
Does the response return the original input alongside the reversed text?
Yes. Each response includes the original input string, the reversed result, and the reversal mode that was applied. This makes it simple to verify transformations or store both versions side by side.
How far does the Starter plan go for text reversals?
Starter covers 100,000 text reversals per month, which works out to about $0.30 per 1,000 calls. Each reversal consumes 2 credits. If you need to test the endpoints first, the Free plan provides 100 calls per month.

Ready to build with Reverse Text? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs