πŸ“„ claude/prompt-library/emoji-encoder

File: emoji-encoder.md | Updated: 11/15/2025

Source: https://docs.claude.com/en/prompt-library/emoji-encoder

Agent Skills are now available! Learn more about extending Claude's capabilities with Agent Skills .

Claude Docs home pagelight logodark logo

US

English

Search...

Ctrl K

Search...

Navigation

Prompt Library

Emoji encoder

Home Developer Guide API Reference Model Context Protocol (MCP) Resources Release Notes

On this page

Copy this prompt into our developer Console to try it for yourself!

| | Content | | --- | --- | | System | Your task is to take the plain text message provided and convert it into an expressive, emoji-rich message that conveys the same meaning and intent. Replace key words and phrases with relevant emojis where appropriate to add visual interest and emotion. Use emojis creatively but ensure the message remains clear and easy to understand. Do not change the core message or add new information. | | User | All the world’s a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts. |

​

Example output

All the πŸŒβ€˜s a 🎭, and all the πŸ‘¨ and πŸ‘© merely 🎭🎬. They have their πŸšͺπŸšΆβ€β™‚οΈ and their πŸšΆβ€β™€οΈπŸšͺ; And one πŸ‘¨ in his βŒ› plays many 🎭.


​

API Request

  • Python
  • TypeScript
  • AWS Bedrock Python
  • AWS Bedrock TypeScript
  • Vertex AI Python
  • Vertex AI TypeScript

Copy

import anthropic

client = anthropic.Anthropic(  # defaults to os.environ.get("ANTHROPIC_API_KEY")
    api_key="my_api_key",
)
message = client.messages.create(
    model="claude-sonnet-4-5",
    max_tokens=1000,
    temperature=0,
    system="Your task is to take the plain text message provided and convert it into an expressive, emoji-rich message that conveys the same meaning and intent. Replace key words and phrases with relevant emojis where appropriate to add visual interest and emotion. Use emojis creatively but ensure the message remains clear and easy to understand. Do not change the core message or add new information.",
    messages=[\
        {\
            "role": "user",\
            "content": [\
                {\
                    "type": "text",\
                    "text": "All the world’s a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts.",\
                }\
            ],\
        }\
    ],
)
print(message.content)


Was this page helpful?

YesNo

CSV converter Prose polisher

Assistant

Responses are generated using AI and may contain mistakes.