---
title: Text Styling API
slug: text-styling-api
url: https://apyhub.com/freedailypro/service/text-styling-api
provider: FreeDailyPro
tags: [text-styling, case-converter, fancy-text, ascii-art, emoji, text-formatting]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 6
atoms: 10
mcp: true
---

# Text Styling API

Easily style and transform text using the Text Styling API. Change case, create fancy Unicode text and ASCII art, reverse text and convert emoji.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/freedailypro/text-styling-api/text/case-convert` | What it does Converts the provided text to the requested case style and returns the applied case, t… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/text-styling-api/text/fancy` | What it does Generates a fancy Unicode version of the input text using the requested style, and ret… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/text-styling-api/text/reverse` | What it does Reverses the provided text and returns the reversed string along with the reversal mod… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/text-styling-api/text/invisible` | What it does Encodes, decodes, strips, or generates invisible text based on the requested mode. It… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/text-styling-api/text/ascii-art` | What it does Generates ASCII art for the provided text and returns the rendered output along with m… | 10 |
| POST | `https://api.eu.apyhub.com/freedailypro/text-styling-api/text/emoji-unicode` | What it does Converts text between emoji and Unicode representations. Send a value and an operation… | 10 |

## Endpoint reference

### Text Case Converter

`POST https://api.eu.apyhub.com/freedailypro/text-styling-api/text/case-convert` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `case` | body | string | yes | One of: upper, lower, title, sentence, camel, pascal, snake, kebab, constant, alternating, inverse. |
| `text` | body | string | yes |  |

#### Quickstart

Convert a piece of text to the case you choose.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/case-convert" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"hello world from apyhub","case":"title"}'
```

#### What you'll get back

Returns a JSON object with `tool`, `case`, and `result` string fields. `tool` is the name of the tool that produced the response, `case` echoes the case that was applied, and `result` is the converted text.

```json
{
  "tool": "text-styling-api",
  "case": "title",
  "result": "Hello World From Apyhub"
}
```

### Fancy Unicode Text Generator

`POST https://api.eu.apyhub.com/freedailypro/text-styling-api/text/fancy` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `text` | body | string | yes |  |
| `style` | body | string | yes |  |

#### Quickstart

Format text into a fancy Unicode style by sending the text and style in a JSON body.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/fancy" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello world","style":"bold"}'
```

#### What you'll get back

Returns a JSON object with three string fields: `tool` for the name of the tool that produced the response, `style` for the applied style, and `result` for the styled text in Unicode characters.

```json
{
  "tool": "text-styling-api",
  "style": "bold",
  "result": "𝐇𝐞𝐥𝐥𝐨 𝐰𝐨𝐫𝐥𝐝"
}
```

### Reverse Text

`POST https://api.eu.apyhub.com/freedailypro/text-styling-api/text/reverse` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `mode` | body | string | no | One of: characters, words, lines. |
| `text` | body | string | yes |  |

#### Quickstart

Reverse the text using the default character mode.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/reverse" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello world"}'
```

#### What you'll get back

Returns a JSON object with `tool`, `mode`, and `result` string fields. `tool` is the name of the tool that produced the response, `mode` is how the text was reversed, and `result` is the reversed text.

```json
{
  "tool": "text-styling-api",
  "mode": "characters",
  "result": "dlrow olleH"
}
```

### Hide & Reveal Invisible Text

`POST https://api.eu.apyhub.com/freedailypro/text-styling-api/text/invisible` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `mode` | body | string | yes | One of: encode, decode, strip, generate. |
| `text` | body | string | no |  |
| `length` | body | number | no |  |
| `carrier` | body | string | no |  |

#### Quickstart

Use `mode` and the text you want to transform to generate invisible text.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/invisible" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "encode",
    "text": "Hello world"
  }'
```

#### What you'll get back

Returns a JSON object with three top-level string fields: `tool` (the name of the tool that produced the response), `mode` (the mode that was used), and `result` (the transformed text output).

```json
{
  "tool": "string",
  "mode": "string",
  "result": "string"
}
```

### ASCII Art Text Generator

`POST https://api.eu.apyhub.com/freedailypro/text-styling-api/text/ascii-art` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `text` | body | string | yes |  |

#### Quickstart

Generate ASCII art from a short piece of text.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/ascii-art" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello world"}'
```

#### What you'll get back

Returns a JSON object with `tool`, `result`, `font`, `fill`, `lines`, and `widthColumns` fields.

- `tool` is the name of the tool that produced the response.
- `result` is the ASCII art string, with lines separated by newline characters.
- `font` is the font used.
- `fill` is the character used to draw the letters.
- `lines` is the number of text lines drawn.
- `widthColumns` is the width of the widest line, in characters.

```json
{
  "tool": "ascii-art",
  "result": " _   _\n| | | |\n| |_| |",
  "font": "standard",
  "fill": "#",
  "lines": 3,
  "widthColumns": 7
}
```

### Emoji to Unicode Converter

`POST https://api.eu.apyhub.com/freedailypro/text-styling-api/text/emoji-unicode` · 10 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `value` | body | string | yes |  |
| `operation` | body | string | yes | One of: toUnicode, fromUnicode. |

#### Quickstart

Convert a regular string into Unicode emoji/code-point data with the required `operation` and `value` fields.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/emoji-unicode" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"operation":"toUnicode","value":"Hello 😊"}'
```

#### What you'll get back

Returns a JSON object with a `tool` string and a `result` field. For `toUnicode`, `result` is an array with one object per character, each containing `char` (the character), `codePoint` (the Unicode code point as a number), and `hex` (the code point in `U+XXXX` form).

```json
{
  "tool": "text-styling-api",
  "result": [
    {
      "char": "H",
      "codePoint": 72,
      "hex": "U+0048"
    }
  ]
}
```

## About

## What it does
Text Styling Tools lets you transform plain text into different formats, symbols, and encodings. Send text plus the requested mode or style, and get back the converted result in a structured response.

Use it to normalize user input, generate formatted labels, or create text for chat apps, social posts, and internal tooling. The case converter supports upper, lower, title, sentence, camel, pascal, snake, kebab, constant, alternating, and inverse. The fancy text generator applies a Unicode style to your text. The reverse endpoint can reverse characters, words, or lines.

It also includes utilities for invisible text and emoji code points. With invisible text, you can encode or decode hidden messages, strip invisible characters, or generate invisible character strings with an optional length and carrier. With emoji Unicode conversion, you can convert a value to a per-character Unicode breakdown or decode Unicode back into text.

For text rendering, the ASCII art endpoint turns a string into multi-line ASCII output and returns the font, fill character, line count, and width in columns. That makes it useful for banners, terminal output, previews, and automation that needs text in a more visual form.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/freedailypro/service/text-styling-api
