StashBin | simple pastebin for your text file.
Paste, save and share your file easily to everyone in the world.
Stashbin is an open source pastebin service. You can find the source code on Github.
By default stashbin supports font ligatures like <=, >=, ==, !=, => etc. Make your code more readable and beautiful with ligatures.
Document Lifetime
StashBin have no explicit document expiration time. However old documents may be removed at any time to free up the storage without notice. StashBin only guarantee a document will be stored within 1 month.
Privacy
StashBin does not collect any personal information. We do not store any information about your IP address, browser, or any other information.
Security
StashBin only act as a simple storage for your text. While we try to keep your documents from being crawled by search engines, we cannot guarantee that your documents will not be found by other means. Please do not store any sensitive information in your documents.
API Endpoint
You can use the API to create and read documents. You can send a http POST with a JSON body containing field named 'content'. Other than that, it will response a Bad Request. Here an example using curl.
curl -X POST \
'https://stashbin.xyz/api/document' \
--header 'Content-Type: application/json' \
--data-raw '{ "content": "Hi Mom" }'
And you can GET your document in JSON format with the key received from POST on
curl -X GET \
'https://stashbin.xyz/api/document?key=examplekey'
If you only want the content as a plain text, you can use the raw endpoint.
curl -X GET 'https://stashbin.xyz/raw/examplekey'