Share AI-Generated Markdown on Discord Without Uploading Files

작성자

카테고리:

← 피드로
DEV Community · uni928 · 2026-08-31 개발(SW)

This article introduces a simple way to share AI-generated documents on Discord:

  • The recipient can open a formatted document with one click
  • The sender does not need to upload any files

The basic idea is simple.

The tool generates a Discord-ready link like this:

[View Document](<URL containing compressed and Base64-encoded Markdown>)

Enter fullscreen mode Exit fullscreen mode

On Discord, the recipient only sees a clean link such as:

View Document

They can click the link and immediately view the document as a formatted webpage, with Markdown headings, bold text, lists, and other formatting applied.

Try the Example First

I created a sample page that explains how the tool works using the same sharing method.

👇 View the example here:

https://uni928.github.io/Uni928PublicHTMLs/index80Sample2English.html

After reading the instructions, you can use the actual tool here:

Create a Shareable Markdown Page

How It Works

First, ask ChatGPT or another AI tool to create a document in Markdown format.

For example:

Please create a short Markdown document explaining XX for sharing on Discord.

Enter fullscreen mode Exit fullscreen mode

Then paste the generated Markdown into:

Create a Shareable Markdown Page

From the “Save as URL” section, you can generate a Discord-ready link in this format:

[View Document](<URL containing compressed and Base64-encoded Markdown>)

Enter fullscreen mode Exit fullscreen mode

Then simply paste that text into Discord.

Instead of seeing the full long URL, the recipient sees a clean link like this:

View Document

Discord Lets You Hide Long URLs Behind Link Text

Discord supports Markdown-style links such as:

[View Document](<URL>)

Enter fullscreen mode Exit fullscreen mode

For example:

[View Document](<https://uni928.github.io/Uni928PublicHTMLs/index80Sample2English.html>)

Enter fullscreen mode Exit fullscreen mode

When posted in Discord, the recipient only needs to click the displayed text.

This means even if the actual URL is very long, the message itself can stay clean and readable.

The Markdown Is Stored Inside the URL

This tool compresses the Markdown text, converts it to Base64, and stores the result directly inside the URL.

The sharing process is therefore:

  1. Ask ChatGPT or another AI to create a Markdown document
  2. Paste the Markdown into the tool
  3. Generate a shareable URL
  4. Paste the generated link into Discord

This means you do not need to separately create and upload a Markdown, HTML, or PDF file.

The document itself can be shared through the URL.

Fewer Steps for Simple Document Sharing

When using ChatGPT or other generative AI tools, it is easy to create things like:

  • Short guides
  • Instructions
  • Simple reports
  • Explanatory documents

However, sharing them on Discord can sometimes require extra steps such as:

  • Saving the text as a Markdown file
  • Converting it to HTML or PDF
  • Uploading the file to Discord
  • Moving the content into Google Docs or another service

With this method, you can instead share something as simple as:

More details here:

[View Document](<URL>)

Enter fullscreen mode Exit fullscreen mode

This keeps the Discord message short while letting the recipient view the full formatted document separately.

Good Use Cases

I find this method particularly useful for:

  • Short AI-generated guides
  • Work instructions
  • Rules for games or communities
  • Development notes
  • Long Discord messages that are easier to read as a separate page
  • Temporary notes
  • Summaries of ChatGPT discussions

It is especially useful when the document is mostly text.

How to Use the Tool

The actual tool is available here:

Create a Shareable Markdown Page

The basic steps are:

  1. Enter a document title
  2. Paste your Markdown content
  3. Click Save as URL
  4. Click the option to copy the Discord “View Document” link
  5. Paste the copied text into Discord
  6. The recipient clicks View Document to open the formatted page

The document data is stored inside the URL itself, so you do not need to send a separate file.

Limitations

This method stores the Markdown content directly inside the URL.

Because browsers, Discord, and other services have practical URL-length limits, the current version limits the compressed and Base64-encoded data to under 1,920 characters.

Images are also not well suited to this method.

Embedding image data directly in the URL can make the URL extremely large, so this method is primarily intended for text-based documents rather than image-heavy content.

In other words, this is not intended to replace full document hosting or cloud storage services.

It is designed for a simpler use case:

Quickly sharing AI-generated, text-focused documents on Discord

For short and medium-sized text documents, it can be a convenient approach.

Also, because the content is embedded in the URL, editing the document usually means generating a new URL.

So this method is not ideal when you need to keep updating the same shared URL over time.

For Users Who Want to Review the Code

The source code is available on GitHub:

https://github.com/uni928/Uni928PublicHTMLs/blob/main/index80English.html

The sample page in this article uses index80Sample2English.html, while the actual English version of the tool is index80English.html.

The source is published so users who care about security can review the code and network behavior themselves.

As an additional check, you can download the HTML and ask ChatGPT or another AI tool something like:

Please review this HTML file and check whether it contains any suspicious external data transmission or malicious code.

Enter fullscreen mode Exit fullscreen mode

However, AI review should only be treated as an additional check.

For important use cases, you should also review the code and network destinations yourself.

If You Want More Control

If you want to reduce reliance on the original hosted version, you can also:

  1. Download the HTML from GitHub
  2. Review the code yourself
  3. Optionally ask an AI tool to review it as well
  4. Host it on your own GitHub Pages site or another static hosting service

This way, you do not need to worry about the original hosted version changing later.

You Can Also Customize It for Your Own Use

Because the HTML is public, you can modify it with ChatGPT or another coding assistant.

For example, you could:

  • Change the design
  • Remove unnecessary buttons
  • Change the input workflow
  • Add Discord-specific features
  • Add your own document templates

Customizing the tool for your own workflow may make it even more useful.

If you create and publish an improved version, I would be happy to hear about it and try it.

If you publish a modified version based on this repository, please follow the MIT License terms.

You must include the required copyright notice and MIT License text.

Summary

With this method, the sender’s workflow is:

Create Markdown with AI → Paste it into the tool → Paste the generated link into Discord

The recipient’s workflow is even simpler:

Click “View Document”

This approach works particularly well when you want to share simple, AI-generated, text-based documents on Discord without uploading files.

👇 View the sample instructions:

https://uni928.github.io/Uni928PublicHTMLs/index80Sample2English.html

원문에서 계속 ↗