You can convert projects to .gif file format in Kdenlive.

  1. Select Project > Render
  2. Under Render Project, Select Images Sequence > GIF
  3. Select Render to File

Similar general instructions here: https://www.hollyland.com/blog/tips/export-video-in-kdenlive

Just writing this here because this question (specifically about .gifs) has been asked multiple times on the internet but all available answers point to using ffmpeg.